Loading nginx.conf +6 −1 Original line number Diff line number Diff line Loading @@ -3,6 +3,11 @@ map $http_x_forwarded_proto $forwarded_https { https on; } upstream fastcgi { server localhost:9000 fail_timeout=120; server upstream:9000 backup; } server { listen 80; server_name _; Loading @@ -19,7 +24,7 @@ server { fastcgi_param HTTPS $forwarded_https; fastcgi_param SERVER_ADDR $http_x_forwarded_host; fastcgi_param SERVER_PORT $http_x_forwarded_port; fastcgi_pass localhost:9000; fastcgi_pass fastcgi; } # block the XMLRPC script Loading Loading
nginx.conf +6 −1 Original line number Diff line number Diff line Loading @@ -3,6 +3,11 @@ map $http_x_forwarded_proto $forwarded_https { https on; } upstream fastcgi { server localhost:9000 fail_timeout=120; server upstream:9000 backup; } server { listen 80; server_name _; Loading @@ -19,7 +24,7 @@ server { fastcgi_param HTTPS $forwarded_https; fastcgi_param SERVER_ADDR $http_x_forwarded_host; fastcgi_param SERVER_PORT $http_x_forwarded_port; fastcgi_pass localhost:9000; fastcgi_pass fastcgi; } # block the XMLRPC script Loading