feat(web03/bocal): Make the redirections work correctly

This commit is contained in:
Tom Hubrecht 2025-01-16 16:19:31 +01:00
parent e555bbc06e
commit 776f5f5426
Signed by: thubrecht
SSH key fingerprint: SHA256:r+nK/SIcWlJ0zFZJGHtlAoRwq1Rm+WcKAm5ADYMoQPc

View file

@ -15,7 +15,12 @@
forceSSL = true;
locations = {
"/www/".root = "/users/guests/bocal/";
"= /preparation.pdf".root = "/users/guests/bocal/www/";
"~ /bocal_www/".extraConfig = ''
rewrite ^/bocal_www(/.*)$ /www$1 last;
try_files $uri $args;
'';
};
};