Browse Source

修改日志路径

master
刘忱 1 year ago
parent
commit
85717b4d12
  1. 4
      nginx.conf

4
nginx.conf

@ -39,9 +39,9 @@ http {
listen 25100;
server_name_in_redirect off;
server_name dev.ccwin-in.com;
access_log logs/sfms3.0.log main;
access_log /var/log/nginx/access main;
error_log /var/log/nginx/error.log;
location /api/ {
access_log logs/sfms3.0.log main;
proxy_pass http://sfms3.0/;
proxy_next_upstream http_500 http_502 http_503 http_504 error timeout invalid_header;
proxy_set_header X-Forwared-For $proxy_add_x_forwarded_for;

Loading…
Cancel
Save