From: Shane Jaroch Date: Wed, 21 Jan 2026 23:16:55 +0000 (-0500) Subject: update X-Git-Url: https://git.nutra.tk/v2?a=commitdiff_plain;h=315636e264293642d893f8fd783779cbff7284c0;p=nutratech%2Fvps-root.git update --- diff --git a/.gitignore b/.gitignore index f7011c1..88dd0fb 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,5 @@ # Unignore all dirs # !*/ +scripts/homepage.html +scripts/gitweb-simplefrontend/services.html diff --git a/etc/nginx/conf.d/dev/git-http.conf b/etc/nginx/conf.d/dev/git-http.conf index 49792ed..c59f8b0 100644 --- a/etc/nginx/conf.d/dev/git-http.conf +++ b/etc/nginx/conf.d/dev/git-http.conf @@ -10,8 +10,8 @@ server { http3 on; # SSL Configuration - ssl_certificate /etc/letsencrypt/live/nutra.tk/fullchain.pem; # managed by Certbot - ssl_certificate_key /etc/letsencrypt/live/nutra.tk/privkey.pem; # managed by Certbot + ssl_certificate /etc/letsencrypt/live/dev.nutra.tk/fullchain.pem; # managed by Certbot + ssl_certificate_key /etc/letsencrypt/live/dev.nutra.tk/privkey.pem; # managed by Certbot include /etc/letsencrypt/options-ssl-nginx.conf; ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; ssl_trusted_certificate /etc/ssl/private/ca-certs.pem; diff --git a/scripts/gen_services_map.py b/scripts/gen_services_map.py index 608517a..1fd6286 100755 --- a/scripts/gen_services_map.py +++ b/scripts/gen_services_map.py @@ -172,16 +172,6 @@ def main(): if s["url"].startswith("/"): s["url"] = f"https://git.nutra.tk{s['url']}" - # Output 1: Git Services Only - print(f"Generating Git Services map with {len(services_git)} items...") - git_groups = [("", services_git)] - git_html = generate_html("Git Services", git_groups) - - os.makedirs(OUTPUT_HTML.parent, exist_ok=True) - with open(OUTPUT_HTML, "w") as f: - f.write(git_html) - print(f"Generated Git map at: {OUTPUT_HTML}") - # Output 2: Homepage (All Services) OUTPUT_HTML_HOME = REPO_ROOT / "scripts/homepage.html" @@ -190,7 +180,6 @@ def main(): # Calculate total items total_items = sum(len(g[1]) for g in all_groups) - print(f"Generating Homepage map with {total_items} items...") # Construction Notice construction_notice = """ @@ -202,10 +191,19 @@ def main(): "All Services", all_groups, intro_html=construction_notice ) + print(f"Generating Unified Service Map with {total_items} items...") + + # Write to Homepage with open(OUTPUT_HTML_HOME, "w") as f: f.write(home_html) print(f"Generated Homepage map at: {OUTPUT_HTML_HOME}") + # Write to Git Services (same content) + os.makedirs(OUTPUT_HTML.parent, exist_ok=True) + with open(OUTPUT_HTML, "w") as f: + f.write(home_html) + print(f"Generated Git map at: {OUTPUT_HTML}") + if __name__ == "__main__": main() diff --git a/scripts/gitweb-simplefrontend/services.html b/scripts/gitweb-simplefrontend/services.html deleted file mode 100644 index eb81eee..0000000 --- a/scripts/gitweb-simplefrontend/services.html +++ /dev/null @@ -1,60 +0,0 @@ - - - - Git Services - - - -

Git Services

-

Generated automatically from Nginx configuration.

- - -
-

https://git.nutra.tk/v1

-
Original Gitweb (Basic)
-
-
-

https://git.nutra.tk/v2

-
Styled Frontend (Theme, Static)
-
-
-

https://git.nutra.tk/v3

-
Gitea (Full Server with Backend, Main)
-
- - - - - \ No newline at end of file diff --git a/scripts/homepage.html b/scripts/homepage.html deleted file mode 100644 index c27817f..0000000 --- a/scripts/homepage.html +++ /dev/null @@ -1,75 +0,0 @@ - - - - All Services - - - -

All Services

-

Generated automatically from Nginx configuration.

- -
-

The site is under construction/rebuild... all the services are run from two VPS servers, one with 1 GB and another with 2 GB of RAM.

-

Please see the services we have online below during our extensive rebuild process (Jan 2026).

-

Core Services

-
-

https://api.dev.nutra.tk

-
API
-
-
-

https://mail.nutra.tk

-
Mail Server (Stalwart)
-
-
-

https://chat.nutra.tk

-
Matrix Chat
-

Git Services

-
-

https://git.nutra.tk/v1

-
Original Gitweb (Basic)
-
-
-

https://git.nutra.tk/v2

-
Styled Frontend (Theme, Static)
-
-
-

https://git.nutra.tk/v3

-
Gitea (Full Server with Backend, Main)
-
- - - - - \ No newline at end of file