fixup add storage-ng redirect

This commit is contained in:
Emery Hemingway 2020-01-26 19:12:17 +01:00
parent 180a903631
commit 7a38fdbeea
1 changed files with 5 additions and 0 deletions

View File

@ -18,6 +18,11 @@ name:
modules = with pkgs.nginxModules; [ fancyindex ]; modules = with pkgs.nginxModules; [ fancyindex ];
}; };
virtualHosts = { virtualHosts = {
"storage-ng.hq.c3d2.de".extraConfig = ''
server_name storage-ng.hq.c3d2.de;
return 301 $scheme://storage.hq.c3d2.de$request_uri;
'';
"storage.hq.c3d2.de" = { "storage.hq.c3d2.de" = {
default = true; default = true;
http2 = true; http2 = true;