Using proper variable to identify vhost

This commit is contained in:
Christoph Haas 2021-02-13 20:19:42 +01:00
parent 3d4de2b878
commit 5d8ab83262

View file

@ -108,7 +108,7 @@ server {
# debshots - added - deliver static images directly without asking Rails
location /public/screenshot {
alias /srv/www/{{ $.SSL_SERVER_NAME }}/screenshot;
alias /srv/www/{{ $.APP }}/screenshot;
}
{{ if $.CLIENT_MAX_BODY_SIZE }}client_max_body_size {{ $.CLIENT_MAX_BODY_SIZE }};{{ end }}