matthew
2 years ago
3 changed files with 18 additions and 4 deletions
@ -0,0 +1,2 @@
|
||||
FROM nginx |
||||
COPY default.conf /etc/nginx/conf.d/default.conf |
@ -0,0 +1,11 @@
|
||||
server { |
||||
location / { |
||||
proxy_set_header Host $host; |
||||
proxy_set_header HelloMatthew True; |
||||
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://front:3000; |
||||
} |
||||
} |
Loading…
Reference in new issue