fixup add storage-ng redirect
This commit is contained in:
parent
180a903631
commit
7a38fdbeea
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue