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; recommendedGzipSettings = true;
recommendedOptimisation = true; recommendedOptimisation = true;
recommendedTlsSettings = 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" = { virtualHosts."stats.hamburg.freifunk.net" = {
default = true; default = true;
enableACME = true; enableACME = true;