gawa/web/templates/default.conf.template

22 lines
389 B
Plaintext

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/;
}
}