Commit 9089ed0f authored by focus's avatar focus

fixed

parent 481dc36b
......@@ -32,11 +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;
# v5-infra-logstash-dev
# 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;
......@@ -140,8 +139,8 @@ http {
server {
listen 8001;
server_name localhost 127.0.0.1;
access_log ./logs/default_upstream_access.log main;
error_log ./logs/default_upstream_error.log;
# access_log ./logs/default_upstream_access.log main;
# error_log ./logs/default_upstream_error.log;
location / {
content_by_lua_block {
......@@ -156,8 +155,8 @@ http {
server {
listen 9999;
#server_name localhost;
access_log ./logs/dashboard_access.log main;
error_log ./logs/dashboard_error.log info;
# access_log ./logs/dashboard_access.log main;
# error_log ./logs/dashboard_error.log info;
location = /favicon.ico {
log_not_found off;
......@@ -187,8 +186,8 @@ http {
server {
listen 7777;
#server_name localhost;
access_log ./logs/api_access.log main;
error_log ./logs/api_error.log info;
# access_log ./logs/api_access.log main;
# error_log ./logs/api_error.log info;
location = /favicon.ico {
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