fixed nginx config and all configs (#167)

Basically the nginx config that was used will have this bug called "peer data channel closed" that will happen every single 3 minutes or so and then it will automatically reconnect the nginx file basically whenever someone was in HTTPS instead of HTTP it will just not trust it but with the nginx config and adding the headers the browser will trust the WS connection
This commit is contained in:
Daisuke Bauza
2025-09-17 14:48:56 -04:00
committed by GitHub
parent da890b40fc
commit b8255b0f62
3 changed files with 48 additions and 40 deletions
+16 -8
View File
@@ -2,13 +2,14 @@
echo "
---------------------------------------------------------------
__
____ ___ / /______ _________ ____ ____ ___ _____
/ __ \/ _ \/ //_/ __ \ / ___/ __ \/ __ \/ __ '__ \/ ___/
/ / / / __/ ,< / /_/ /_____/ / / /_/ / /_/ / / / / / (__ )
/_/ /_/\___/_/|_|\____/_____/_/ \____/\____/_/ /_/ /_/____/
Automatic installer by m1k1o
____ ___ / /______ _________ ____ ____ ___ _____
/ __ \/ _ \/ //_/ __ \ / ___/ __ \/ __ \/ __ '__ \/ ___/
/ / / / __/ ,< / /_/ /_____/ / / /_/ / /_/ / / / / / (__ )
/_/ /_/\___/_/|_|\____/_____/_/ \____/\____/_/ /_/ /_/____/
Automatic installer by m1k1o
---------------------------------------------------------------
You need to have:
@@ -166,6 +167,12 @@ while true; do
break
done
PUBLIC_IP=$(curl -s https://ipinfo.io/ip)
read -rp "Enter your server's public IP address (autodetected: ${PUBLIC_IP}): " NEKO_NAT1TO1
if [[ -z "${NEKO_NAT1TO1}" ]]; then
NEKO_NAT1TO1="${PUBLIC_IP}"
fi
touch "./usersfile"
# Users
@@ -209,6 +216,7 @@ echo "[Y] Got all settings..."
echo "NEKO_ROOMS_TRAEFIK_ENTRYPOINT=websecure"
echo "NEKO_ROOMS_TRAEFIK_NETWORK=neko-rooms-traefik"
echo "NEKO_ROOMS_TRAEFIK_CERTRESOLVER=lets-encrypt"
echo "NEKO_NAT1TO1=${NEKO_NAT1TO1}"
} > .env
echo "[Y] Creating env..."
@@ -246,4 +254,4 @@ else
docker compose up -d
fi
echo "[Y] Finished! You can now visit https://${NEKO_ROOMS_TRAEFIK_DOMAIN}/"
echo "[Y] Finished! You can now visit https://${NEKO_ROOMS_TRAEFIK_DOMAIN}/"