Merge branch 'pad.hacc.earth-redirect' into 'main'

redirect pad.hacc.earth to pad.hacc.space

See merge request hacc/infra/haccfiles!55
This commit is contained in:
stuebinm 2021-04-15 12:02:57 +00:00
commit 5579c1b9d0

View file

@ -82,4 +82,10 @@
'';
};
};
services.nginx.virtualHosts."pad.hacc.earth" = {
forceSSL = true;
enableACME = true;
locations."/".return = "301 https://pac.hacc.space$request_uri";
};
}