pflaenz.li/default
2023-04-16 00:43:29 +02:00

24 lines
539 B
Text

server {
listen 8888;
charset utf-8;
location /static {
access_log off;
alias /app/pflaenzli/static_collected;
}
location /media {
access_log off;
alias /app/media;
}
location / {
proxy_pass http://127.0.0.1:8000;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
access_log /var/log/nginx/pflaenzli_access.log;
client_max_body_size 10M;
}
}