This commit is contained in:
Fergal Moran
2015-09-25 18:50:28 +00:00
2 changed files with 2 additions and 2 deletions

View File

@@ -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"

View File

@@ -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;