| | |
| | | index index.html index.htm; |
| | | } |
| | | |
| | | location /prod-api/{ |
| | | location /prod-api/ { |
| | | #add_header Access-Control-Allow-Origin $http_origin always; |
| | | #add_header Access-Control-Allow-Credentials true always; |
| | | #add_header Access-Control-Allow-Methods 'GET,POST,PUT,DELETE,OPTIONS' always; |
| | | #add_header Access-Control-Allow-Headers 'Authorization,X-Requested-With,Content-Type,Origin,Accept' always; |
| | | |
| | | proxy_set_header Host $http_host; |
| | | proxy_set_header X-Real-IP $remote_addr; |
| | | proxy_set_header REMOTE-HOST $remote_addr; |
| | | proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; |
| | | |
| | | proxy_set_header REMOTE-HOST $remote_addr; |
| | | proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; |
| | | proxy_pass http://se-gateway:8080/; |
| | | } |
| | | |