Fix redirect matching
This commit is contained in:
parent
8c7d2dd6cb
commit
eb79e85eee
1 changed files with 1 additions and 1 deletions
|
|
@ -80,7 +80,7 @@
|
|||
in
|
||||
{
|
||||
"me.bertof.net" = ssl // {
|
||||
locations."/".extraConfig = "rewrite ^/(.*)$ https://homes.di.unimi.it/berto/$1 redirect ;";
|
||||
locations."/".extraConfig = "rewrite ^/(berto/)?(.*)$ https://homes.di.unimi.it/berto/$2 redirect ;";
|
||||
};
|
||||
"home-assistant.bertof.net" = ssl // {
|
||||
locations."/" = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue