From 1589395cdcf9e7f8668215e8080e0c1550788e03 Mon Sep 17 00:00:00 2001 From: Mathieu Strypsteen Date: Thu, 29 Aug 2024 20:02:05 +0200 Subject: [PATCH] Element -> Chat subdomain --- container-config/nginx-home/{element => chat} | 4 +--- setup-vyos.sh | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) rename container-config/nginx-home/{element => chat} (74%) diff --git a/container-config/nginx-home/element b/container-config/nginx-home/chat similarity index 74% rename from container-config/nginx-home/element rename to container-config/nginx-home/chat index 517df9f..d4d377c 100644 --- a/container-config/nginx-home/element +++ b/container-config/nginx-home/chat @@ -1,9 +1,7 @@ server { - server_name element.strypsteen.com; + server_name chat.strypsteen.com; listen 443 ssl; listen [::]:443 ssl; - deny 10.0.0.1; - deny fd00::1; include snippets/headers.conf; location / { set $upstream systemd-element.; diff --git a/setup-vyos.sh b/setup-vyos.sh index e8efe4a..43f04c0 100644 --- a/setup-vyos.sh +++ b/setup-vyos.sh @@ -2,9 +2,9 @@ # shellcheck disable=SC2121 set system name-server 9.9.9.9 set system static-host-mapping host-name pve.strypsteen.com inet 192.168.253.2 +set system static-host-mapping host-name home.strypsteen.com alias chat.strypsteen.com set system static-host-mapping host-name home.strypsteen.com alias cloud.strypsteen.com set system static-host-mapping host-name home.strypsteen.com alias code.strypsteen.com -set system static-host-mapping host-name home.strypsteen.com alias element.strypsteen.com set system static-host-mapping host-name home.strypsteen.com alias git.strypsteen.com set system static-host-mapping host-name home.strypsteen.com alias llm.strypsteen.com set system static-host-mapping host-name home.strypsteen.com alias matrix.strypsteen.com