examples on deployment

This commit is contained in:
2021-12-16 13:54:15 +01:00
parent a78ec72687
commit 19cd9b8507
4 changed files with 107 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
server {
listen 80;
listen [::]:80;
server_name _;
location / {
proxy_pass http://app:5000/;
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;
}
}