... ; ["http://192.168.199.39:9200"] index => "logstash-nginx-%{+YYYY-MM-dd}" } stdout { codec => rubydebug } }
... 下载nginxnginx.org/en/download.html 编译安装: ./configure \ --prefix=/usr/share/nginx \ --sbin-path=/usr/sbin/nginx \ --conf-path=/etc/nginx/nginx.conf \ --http-log-path=/var/log/nginx ...
... =/etc/nginx/nginx.conf \ --user=nginx \ --group=nginx \ --error-log-path=/var/log/nginx/error.log \ --http-log-path=/var/log/nginx/access.log \ --pid-path=/varrun/nginx/nginx.pid ...
... /pass_file admin # 随后输入密码 htpasswd -d /etc/nginx/conf.d/pass_file admin1 # 继续添加账号 在nginx中配置: location /rsmrest/synCaseOrder.json { auth_basic " ...
... Geo模块: cat > /etc/yum.repos.d/nginx.repo <<EOF [nginx] name=nginx repo baseurl=http://nginx.org/packages/centos/7/$basearch/ gpgcheck=0 enabled ...
... _; # root /usr/share/nginx/html; # # ssl_certificate "/etc/pki/nginx/server.crt"; # ssl_certificate_key "/etc/pki/nginx/private/server.key"; # ssl_session_cache ...
... ports: - "8080:80" volumes: - ./code:/code - ./site.conf:/etc/nginx/conf.d/default.conf networks: - code-network php: image: php:fpm volumes: - ./ ...
... 即可。修改好配置后创建目录,并使用chown -R nginx:nginx /cache/nginx修改目录属主属组。然后在location中定义具体 ...
... 0 nginx="/usr/sbin/nginx" prog=$(basename $nginx) NGINX_CONF_FILE="/etc/nginx/nginx.conf" [ -f /etc/sysconfig/nginx ] && . /etc/sysconfig/nginx lockfile ...
... 500 502 503 504 /50x.html; location = /50x.html { root /usr/share/nginx/html; } location / { try_files $uri @rewrite; } location @rewrite { set $static 0; if ($uri ...
... : http://nginx.org/en/docs/ # * Official Russian Documentation: http://nginx.org/ru/docs/ user nginx; worker_processes auto; error_log /var/log/nginx/error.log; pid /run/nginx.pid ...
... /td-agent-bit/td-agent-bit.conf [INPUT] Name tail Tag nginx.* Path /var/log/nginx/*.log [OUTPUT] name es match * Host 192.168.0.26 ...
... kubenav namespace: kubenav annotations: kubernetes.io/ingress.class: "nginx" nginx.ingress.kubernetes.io/configuration-snippet: | proxy_set_header Upgrade "websocket ...
... net-tools -y COPY run.sh /root/ COPY nginx.conf /etc/nginx/nginx.conf COPY default.conf /etc/nginx/conf.d/ EXPOSE 80 443 CMD ["sh" ...
... scrape_configs: - job_name: system static_configs: - targets: - localhost labels: job: varlogs __path__: /var/log/nginx/*log 启动服务,在grafana中添加loki数据源即可。
... -nginx namespace: default labels: app: nginx spec: replicas: 1 selector: matchLabels: app: nginx template: metadata: labels: app: nginx spec: containers: - name: nginx image: nginx ...
... INPUT 2 开放被其他服务调用的本地服务:如被nginx调用的php-fpm服务,如果只是设置允许ESTABLISHED状态的 ...
... kubectl scale 命令修改ReplicaSet 来扩容: kubectl scale replicaset --replicas=2 nginx-dm-74754b979 使用 kubectl edit 来修改replicas 字段进行扩容: kubectl ...
... 单独设置。 listen = 127.0.0.1:9000 #fpm监听端口,即nginx中php处理的地址,一般默认值即可。可用格式为 ...
... net-tools -y COPY run.sh /root/ COPY nginx.conf /etc/nginx/nginx.conf COPY devops.conf /etc/nginx/conf.d/ EXPOSE 80 443 CMD ["sh" ...