moved config again

This commit is contained in:
vabene1111
2021-01-05 00:31:48 +01:00
parent 0398f36949
commit 285e09f40a

16
nginx/conf.d/Recipes.conf Normal file
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;
}
}