Redirect www.catnip.ee to catnip.ee
This commit is contained in:
parent
698746e0dd
commit
a71c909135
1 changed files with 11 additions and 12 deletions
23
caddy.nix
23
caddy.nix
|
@ -157,19 +157,18 @@ in {
|
|||
reverse_proxy 127.0.0.1:${toString settings.ports.nextcloud}
|
||||
'';
|
||||
|
||||
"catnip.ee" = {
|
||||
extraConfig = ''
|
||||
root * ${inputs.catnip-website}
|
||||
file_server browse {
|
||||
hide .git
|
||||
}
|
||||
"catnip.ee".extraConfig = ''
|
||||
root * ${inputs.catnip-website}
|
||||
file_server browse {
|
||||
hide .git
|
||||
}
|
||||
|
||||
redir /.well-known/matrix/* https://matrix.catnip.ee/{uri}
|
||||
'';
|
||||
"www.catnip.ee".extraConfig = ''
|
||||
redir https://catnip.ee{uri} permanent
|
||||
'';
|
||||
|
||||
redir /.well-known/matrix/* https://matrix.catnip.ee/{uri}
|
||||
'';
|
||||
serverAliases = [
|
||||
"www.catnip.ee"
|
||||
];
|
||||
};
|
||||
"vue.jellyfin.catnip.ee".extraConfig = ''
|
||||
reverse_proxy :${toString settings.ports.jellyfin_vue}
|
||||
'';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue