|
|
@@ -180,6 +180,17 @@ server { |
|
|
|
add_header Access-Control-Allow-Methods GET,POST,OPTIONS; |
|
|
|
} |
|
|
|
|
|
|
|
location /prod-api/ { |
|
|
|
proxy_set_header Host $host; |
|
|
|
proxy_set_header X-Real-IP $remote_addr; |
|
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; |
|
|
|
proxy_pass http://172.17.0.1:8080/; |
|
|
|
proxy_redirect default; |
|
|
|
add_header Access-Control-Allow-Origin *; |
|
|
|
add_header Access-Control-Allow-Headers X-Requested-With; |
|
|
|
add_header Access-Control-Allow-Methods GET,POST,OPTIONS; |
|
|
|
} |
|
|
|
|
|
|
|
error_page 500 502 503 504 /50x.html; |
|
|
|
|
|
|
|
location = /50x.html { |
|
|
|