diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..496ee2c --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.DS_Store \ No newline at end of file diff --git a/http/index.html b/http/index.html new file mode 100644 index 0000000..f648da7 --- /dev/null +++ b/http/index.html @@ -0,0 +1,98 @@ + + + + + nik4nao | Home Network + + + +
+
nik4nao home node
+
+ This is a private entrypoint. Nothing interesting should be exposed here. 🙂 +
+ +
Default nginx vhost
+ +
+
Domain
+
nik4nao.xyz (HTTPS handled by separate vhost)
+ +
Status
+
Default HTTP site for IP / unknown hostnames.
+
+ +
+ If you reached this page from the public internet, there’s probably nothing + else you should be looking at. +
+
+ + \ No newline at end of file diff --git a/http/nik4nao-xyz-landing.html b/http/nik4nao-xyz-landing.html new file mode 100644 index 0000000..58f8538 --- /dev/null +++ b/http/nik4nao-xyz-landing.html @@ -0,0 +1,113 @@ + + + + + nik4nao | Watch Party + + + + + + +
+
nik4nao.watch
+
+ Home network watch-party node. You’ll be redirected to the app shortly. +
+ +
Public entrypoint
+ +
+

+ This domain serves a small watch-party web app running on a private backend. +

+

+ If nothing happens, you can jump directly to + /watch-party/. +

+
+ +
+ Redirecting in 10 seconds… +
+
+ + \ No newline at end of file diff --git a/nik4nao.xyz.conf b/nik4nao.xyz.conf index dcc8702..feec91b 100644 --- a/nik4nao.xyz.conf +++ b/nik4nao.xyz.conf @@ -40,6 +40,7 @@ server { listen 443 ssl http2; server_name nik4nao.xyz; + root /var/www/html; access_log /var/log/nginx/nik4naoxyz_access.json json if=$is_external; error_log /var/log/nginx/nik4naoxyz_error.log warn; @@ -73,7 +74,9 @@ server { # Enforce trailing slash for subpath and land / on /watch-party/ location = /watch-party { return 301 /watch-party/; } - location = / { return 302 /watch-party/; } + location = / { + try_files /nik4nao-xyz-landing.html =404; + } # Cache versioned static assets aggressively (adjust path if needed) location ^~ /watch-party/assets/ {