diff options
| author | Alejandro Soto <alejandro@34project.org> | 2024-08-12 23:46:54 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2024-08-13 01:48:05 -0600 |
| commit | 81ab829ddcde926f6f4c5edd1cd19eca009a597b (patch) | |
| tree | 8eb739340a4a69bc22396481f833a6f394f46718 | |
| parent | aeeb440774eba726a3abc17052546b1ccb8a35b3 (diff) | |
sys/web/sites/portal: add redirect: exdev.io/fsociety
Diffstat (limited to '')
| -rw-r--r-- | sys/web/sites/matrix.nix | 2 | ||||
| -rw-r--r-- | sys/web/sites/portal.nix | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/sys/web/sites/matrix.nix b/sys/web/sites/matrix.nix index d27c00c..ee2f773 100644 --- a/sys/web/sites/matrix.nix +++ b/sys/web/sites/matrix.nix @@ -21,7 +21,7 @@ in }; services.nginx.virtualHosts = { - ${domains.exdev.www}.locations = + ${domains.exdev.main}.locations = let serverConfig."m.server" = "${domains.matrix.main}:443"; clientConfig."m.homeserver".base_url = "https://${domains.matrix.main}"; diff --git a/sys/web/sites/portal.nix b/sys/web/sites/portal.nix index 679a1da..2365ba1 100644 --- a/sys/web/sites/portal.nix +++ b/sys/web/sites/portal.nix @@ -22,10 +22,12 @@ in serverAliases = [ domains.host.main ]; }; - ${domains.exdev.www} = { + ${domains.exdev.main} = { forceSSL = true; useACMEHost = domains.exdev.main; - serverAliases = [ domains.exdev.main ]; + serverAliases = [ domains.exdev.www ]; + + locations."/fsociety".return = "301 https://meet.posixlycorrect.com/%C6%92%C6%A8%C5%8F%C4%8B%D3%80%C9%99%CF%AE%D0%A3"; }; }; }; |
