wip tidy up
authorShane Jaroch <chown_tee@proton.me>
Tue, 20 Jan 2026 19:20:10 +0000 (14:20 -0500)
committerShane Jaroch <chown_tee@proton.me>
Tue, 20 Jan 2026 19:20:10 +0000 (14:20 -0500)
etc/nginx/conf.d/default.prod.conf
etc/nginx/conf.d/git-http.dev.conf [moved from etc/nginx/conf.d/git-http.conf with 95% similarity]
etc/nginx/conf.d/moms-website.conf.disabled [moved from etc/nginx/conf.d/moms-website.conf with 100% similarity]
scripts/deploy.sh
scripts/gen_services_map.py

index 3e29f9903b02290e286fe39d164272d4d7fe6663..500897e354f965dc83a1fe151f39bfb407124861 100644 (file)
@@ -167,8 +167,6 @@ server {
   include /etc/letsencrypt/options-ssl-nginx.conf;
   ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;
 
-  http2 on;
-  http3 on;
   add_header Alt-Svc 'h3=":443"; ma=86400' always;
   add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" always;
   ssl_trusted_certificate /etc/ssl/private/ca-certs.pem;
similarity index 95%
rename from etc/nginx/conf.d/git-http.conf
rename to etc/nginx/conf.d/git-http.dev.conf
index b681509740cb7b9cc956d1d59acc6f6ba94ca835..b8162ef8edd9cd9329198b1d7e1e2a7060e36cee 100644 (file)
@@ -10,8 +10,8 @@ server {
     http3 on;
 
     # SSL Configuration
-    ssl_certificate /etc/letsencrypt/live/earthyenergy.mooo.com/fullchain.pem; # managed by Certbot
-    ssl_certificate_key /etc/letsencrypt/live/earthyenergy.mooo.com/privkey.pem; # managed by Certbot
+    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
     include /etc/letsencrypt/options-ssl-nginx.conf;
     ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;
 
index 70ab8841905484267f986599ea688462ef3fefd2..60c095da3161561048002110541d2a613803c1cd 100755 (executable)
@@ -160,8 +160,8 @@ if sudo nginx -t; then
         sudo cp "$GITWEB_CONF_SRC" /etc/gitweb.conf
     fi
 
-    # Deploy Gitweb frontend assets
-    if [ -d "$REPO_ROOT/scripts/gitweb-simplefrontend" ]; then
+    # Deploy Gitweb frontend assets (Dev Only)
+    if [ "$ENV" == "dev" ] && [ -d "$REPO_ROOT/scripts/gitweb-simplefrontend" ]; then
         echo "Generating services map..."
         if [ -f "$REPO_ROOT/scripts/gen_services_map.py" ]; then
             python3 "$REPO_ROOT/scripts/gen_services_map.py"
index 4a14be7d4c60b8c5f91e10994a235012a8a3a1f2..c5bc36387bdb837976090a58442f78ca07bf1f7b 100755 (executable)
@@ -5,7 +5,7 @@ from pathlib import Path
 
 # Paths relative to repo root
 REPO_ROOT = Path(__file__).parent.parent
-NGINX_CONF = REPO_ROOT / "etc/nginx/conf.d/git-http.conf"
+NGINX_CONF = REPO_ROOT / "etc/nginx/conf.d/git-http.dev.conf"
 OUTPUT_HTML = REPO_ROOT / "scripts/gitweb-simplefrontend/services.html"
 
 HTML_TEMPLATE = """<!DOCTYPE html>