gawa/web/templates/default.conf.template

22 lines
389 B
Plaintext
Raw Permalink Normal View History

2023-06-06 00:24:53 +02:00
server {
listen ${NGINX_PORT};
root /var/www/html;
# set client body size to 2M #
client_max_body_size 2M;
location / {
proxy_pass http://gawa:80/;
proxy_redirect off;
proxy_set_header Host $host;
}
location /static/ {
alias /var/www/static/;
}
location /media/ {
alias /var/www/media/;
}
}