Merge branch 'pad.hacc.earth-redirect' into 'main'
redirect pad.hacc.earth to pad.hacc.space See merge request hacc/infra/haccfiles!55
This commit is contained in:
commit
5579c1b9d0
1 changed files with 6 additions and 0 deletions
|
@ -82,4 +82,10 @@
|
|||
'';
|
||||
};
|
||||
};
|
||||
|
||||
services.nginx.virtualHosts."pad.hacc.earth" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/".return = "301 https://pac.hacc.space$request_uri";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue