Redirect jimfiles and nixfox to www
This commit is contained in:
parent
cc68f883ba
commit
b0247d330e
2 changed files with 12 additions and 4 deletions
|
@ -3,6 +3,7 @@
|
|||
services.nginx.virtualHosts."${config.domains.p1}" = lib.mkIf config.system.server.enable {
|
||||
enableACME = true;
|
||||
addSSL = true;
|
||||
globalRedirect = "www.${config.domains.p2}";
|
||||
locations = {
|
||||
"/.well-known/matrix/client".extraConfig = ''
|
||||
default_type application/json;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue