Commit 4f3c07cf authored by focus's avatar focus

update

parent 5bbfbf5a
......@@ -32,10 +32,10 @@ http {
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
# access_log ./logs/access.log main;
# error_log ./logs/error.log info;
access_log syslog:server=v5-infra-logstash-dev:5005,facility=local7,tag=nginx,severity=info;
error_log syslog:server=v5-infra-logstash-dev:5005,facility=local7,tag=nginx,severity=error;
access_log ./logs/access.log main;
error_log ./logs/error.log info;
# access_log syslog:server=v5-infra-logstash-dev:5005,facility=local7,tag=nginx,severity=info;
# error_log syslog:server=v5-infra-logstash-dev:5005,facility=local7,tag=nginx,severity=error;
sendfile on;
keepalive_timeout 65;
......@@ -110,7 +110,7 @@ http {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Scheme $scheme;
# proxy_set_header Host $upstream_host;
proxy_set_header Host $upstream_host;
proxy_pass $upstream_url;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment