Redirect hackmd.c3d2.de ot hedgedoc

This commit is contained in:
Sandro - 2022-09-01 23:56:14 +02:00
parent 96d02609db
commit 318ee46c91
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
2 changed files with 6 additions and 0 deletions

View File

@ -61,6 +61,11 @@
enableACME = true;
locations."/".return = "301 https://hedgedoc.c3d2.de$request_uri";
};
"hackmd.c3d2.de" = {
forceSSL = true;
enableACME = true;
locations."/".return = "301 https://hedgedoc.c3d2.de$request_uri";
};
"hedgedoc.c3d2.de" = {
default = true;
forceSSL = true;

View File

@ -69,6 +69,7 @@
} {
hostNames = [
"codimd.c3d2.de"
"hackmd.c3d2.de"
"hedgedoc.c3d2.de"
];
proxyTo.host = config.c3d2.hosts.hedgedoc.ip4;