]> Nutra Git (v2) - nutratech/vps-root.git/commitdiff
nginx: disable blog, store, and site
authornutra-bot <nutradigest@gmail.com>
Tue, 23 Dec 2025 23:24:28 +0000 (23:24 +0000)
committernutra-bot <nutradigest@gmail.com>
Tue, 23 Dec 2025 23:24:28 +0000 (23:24 +0000)
etc/nginx/conf.d/default.conf

index 2056ed1881f6b5295bf43bef8071048a3f673c58..caa0d3173688b88148ff8087184fe1b5e1d62f9f 100644 (file)
@@ -144,18 +144,18 @@ server {
   #ssl_stapling_verify on;
 
   # React app (base URL)
-  location / {
-    #return 302 https://$host/api$request_uri;
-    root /var/www/app;
-    index index.html;
-    #try_files $uri $uri/ /index.html =404;
-  }
+#  location / {
+#    #return 302 https://$host/api$request_uri;
+#    root /var/www/app;
+#    index index.html;
+#    #try_files $uri $uri/ /index.html =404;
+#  }
 
   # Blog / Sphinx
-  location /blog {
-    alias /var/www/blog;
-    index index.html;
-  }
+#  location /blog {
+#    alias /var/www/blog;
+#    index index.html;
+#  }
 
   # default favicon
   location = /favicon.ico {
@@ -171,12 +171,12 @@ server {
   location = /cv/swe~/resume.pdf {
     alias /var/www/cv/swe/resume.pdf;
   }
-  location = /cv/dataeng~/resume.pdf {
-    alias /var/www/cv/de/resume.pdf;
-  }
-  location = /cv/datasci~/resume.pdf {
-    alias /var/www/cv/ds/resume.pdf;
-  }
+#  location = /cv/dataeng~/resume.pdf {
+#    alias /var/www/cv/de/resume.pdf;
+#  }
+#  location = /cv/datasci~/resume.pdf {
+#    alias /var/www/cv/ds/resume.pdf;
+#  }
 
   # public folder
   location /public {