|
|
@ -1,12 +1,6 @@ |
|
|
|
#user root; |
|
|
|
worker_processes 2; |
|
|
|
|
|
|
|
#error_log logs/error.log; |
|
|
|
#error_log logs/error.log notice; |
|
|
|
#error_log logs/error.log info; |
|
|
|
|
|
|
|
#pid logs/nginx.pid; |
|
|
|
|
|
|
|
events { |
|
|
|
worker_connections 1024; |
|
|
|
} |
|
|
@ -38,9 +32,7 @@ http { |
|
|
|
server { |
|
|
|
listen 25100; |
|
|
|
server_name_in_redirect off; |
|
|
|
server_name dev.ccwin-in.com; |
|
|
|
access_log /opt/sfms3.0/access.log main; |
|
|
|
error_log /opt/sfms3.0/error.log; |
|
|
|
server_name dev.ccwin-in.com localhost; |
|
|
|
location /api/ { |
|
|
|
proxy_pass http://sfms3.0/; |
|
|
|
proxy_next_upstream http_500 http_502 http_503 http_504 error timeout invalid_header; |
|
|
|