Commit 481dc36b authored by focus's avatar focus

update

parent dbc9a388
......@@ -32,8 +32,11 @@ 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 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;
# v5-infra-logstash-dev
# error_log syslog:server=v5-infra-logstash-dev:5005,facility=local7,tag=nginx,severity=error;
sendfile on;
keepalive_timeout 65;
......@@ -137,8 +140,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 {
......@@ -153,8 +156,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;
......@@ -184,8 +187,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