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