Redirect old to new

This commit is contained in:
Daniel Frank 2022-02-07 22:10:01 +01:00
parent 370e079fca
commit 4f719e292a
Signed by: tokudan
GPG key ID: 063CCCAD04182D32

View file

@ -7,6 +7,13 @@
recommendedGzipSettings = true;
recommendedOptimisation = true;
recommendedTlsSettings = true;
virtualHosts."statistik.hamburg.freifunk.net" = {
enableACME = true;
forceSSL = true;
extraConfig = ''
rewrite ^/(.*)$ https://stats.hamburg.freifunk.net/ redirect;
'';
};
virtualHosts."stats.hamburg.freifunk.net" = {
default = true;
enableACME = true;