Commit 481dc36b authored by focus's avatar focus

update

parent dbc9a388
...@@ -32,8 +32,11 @@ http { ...@@ -32,8 +32,11 @@ http {
log_format main '$remote_addr - $remote_user [$time_local] "$request" ' log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" ' '$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"'; '"$http_user_agent" "$http_x_forwarded_for"';
access_log syslog:server=v5-infra-logstash-dev:5005,facility=local7,tag=nginx,severity=info; access_log ./logs/access.log main;
error_log syslog:server=v5-infra-logstash-dev:5005,facility=local7,tag=nginx,severity=error; error_log ./logs/error.log info;
# access_log syslog:server=v5-infra-logstash-dev:5005,facility=local7,tag=nginx,severity=info;
# v5-infra-logstash-dev
# error_log syslog:server=v5-infra-logstash-dev:5005,facility=local7,tag=nginx,severity=error;
sendfile on; sendfile on;
keepalive_timeout 65; keepalive_timeout 65;
...@@ -137,8 +140,8 @@ http { ...@@ -137,8 +140,8 @@ http {
server { server {
listen 8001; listen 8001;
server_name localhost 127.0.0.1; server_name localhost 127.0.0.1;
# access_log ./logs/default_upstream_access.log main; access_log ./logs/default_upstream_access.log main;
# error_log ./logs/default_upstream_error.log; error_log ./logs/default_upstream_error.log;
location / { location / {
content_by_lua_block { content_by_lua_block {
...@@ -153,8 +156,8 @@ http { ...@@ -153,8 +156,8 @@ http {
server { server {
listen 9999; listen 9999;
#server_name localhost; #server_name localhost;
# access_log ./logs/dashboard_access.log main; access_log ./logs/dashboard_access.log main;
# error_log ./logs/dashboard_error.log info; error_log ./logs/dashboard_error.log info;
location = /favicon.ico { location = /favicon.ico {
log_not_found off; log_not_found off;
...@@ -184,8 +187,8 @@ http { ...@@ -184,8 +187,8 @@ http {
server { server {
listen 7777; listen 7777;
#server_name localhost; #server_name localhost;
# access_log ./logs/api_access.log main; access_log ./logs/api_access.log main;
# error_log ./logs/api_error.log info; error_log ./logs/api_error.log info;
location = /favicon.ico { location = /favicon.ico {
log_not_found off; log_not_found off;
......
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