From c5907dc20dca73f9c2ab517e7118991ed1590d53 Mon Sep 17 00:00:00 2001 From: Bas van den Berg <74251551+bvdberg01@users.noreply.github.com> Date: Thu, 31 Jul 2025 20:25:27 +0200 Subject: [PATCH] Update ots-install.sh --- install/ots-install.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/install/ots-install.sh b/install/ots-install.sh index be172063..59993201 100644 --- a/install/ots-install.sh +++ b/install/ots-install.sh @@ -40,6 +40,12 @@ msg_ok "Certificate Generated" msg_info "Setting up nginx" cat </etc/nginx/sites-available/ots.conf +server { + listen 80; + listen [::]:80; + server_name ots; + return 301 https://$host$request_uri; +} server { listen 443 ssl; listen [::]:443 ssl;