From 8b64a2206808c73406d0fb71164de30bc1d0c836 Mon Sep 17 00:00:00 2001 From: Fabio Sinibaldi Date: Tue, 11 Mar 2025 17:26:07 +0100 Subject: [PATCH] static landing page (http) for sselab.ddns.net & hassallab.it --- dockerized/first-level-nginx/configs/node.conf | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/dockerized/first-level-nginx/configs/node.conf b/dockerized/first-level-nginx/configs/node.conf index fdff158..d2d741b 100644 --- a/dockerized/first-level-nginx/configs/node.conf +++ b/dockerized/first-level-nginx/configs/node.conf @@ -108,6 +108,18 @@ http { } + #static landing page for sselab.ddns.net / hassallab.it + server { + listen 80; + server_name sselab.ddns.net *.sselab.ddns.net hassallab.it *.hassallab.it; + root /var/www/default; + + location /{ + try_files $uri /$uri /index.html; + } + } + + #Default Catch-all redirects to https server { listen 80 default_server;