mirror of
https://github.com/fergalmoran/dss.docker.git
synced 2025-12-22 09:18:29 +00:00
Altered ports
This commit is contained in:
@@ -41,7 +41,7 @@ api:
|
|||||||
volumes:
|
volumes:
|
||||||
- /files
|
- /files
|
||||||
ports:
|
ports:
|
||||||
- "8000:8000"
|
- "8001:8001"
|
||||||
links:
|
links:
|
||||||
- "postgres:postgres"
|
- "postgres:postgres"
|
||||||
- "redis:redis"
|
- "redis:redis"
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ server {
|
|||||||
}
|
}
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://api:8000;
|
proxy_pass http://api:8001;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
|||||||
Reference in New Issue
Block a user