Redirect old to new
This commit is contained in:
parent
370e079fca
commit
4f719e292a
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue