updated plain example

This commit is contained in:
vabene1111
2020-06-09 00:16:04 +02:00
parent a555906a32
commit 72cb046e37
2 changed files with 25 additions and 6 deletions

View File

@@ -0,0 +1,16 @@
server {
listen 80;
server_name localhost;
client_max_body_size 16M;
# serve media files
location /media/ {
alias /media/;
}
# pass requests for dynamic content to gunicorn
location / {
proxy_set_header Host $host;
proxy_pass http://web_recipes:8080;
}
}