delete
This commit is contained in:
parent
6204cd2cfd
commit
b1fb8193a8
@ -1,23 +0,0 @@
|
|||||||
server {
|
|
||||||
# listen 443 ssl;
|
|
||||||
# listen 80 ssl;
|
|
||||||
# listen 443 ssl;
|
|
||||||
# listen ${NGINX_PORT};
|
|
||||||
listen 8080;
|
|
||||||
|
|
||||||
location /{
|
|
||||||
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_set_header X-Forwarded-Proto $scheme;
|
|
||||||
proxy_pass http://react_app:8081;
|
|
||||||
}
|
|
||||||
|
|
||||||
location /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_set_header X-Forwarded-Proto $scheme;
|
|
||||||
proxy_pass http://api:3000/api;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Loading…
Reference in New Issue
Block a user