forked from DGNum/infrastructure
feat(web03/bocal): Make the redirections work correctly
This commit is contained in:
parent
e555bbc06e
commit
776f5f5426
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue