From: nutra-bot Date: Tue, 23 Dec 2025 23:24:28 +0000 (+0000) Subject: nginx: disable blog, store, and site X-Git-Url: https://git.nutra.tk/v1?a=commitdiff_plain;h=2805cb635183bc504acf7332651fe4ff28723eb1;p=nutratech%2Fvps-root.git nginx: disable blog, store, and site --- diff --git a/etc/nginx/conf.d/default.conf b/etc/nginx/conf.d/default.conf index 2056ed1..caa0d31 100644 --- a/etc/nginx/conf.d/default.conf +++ b/etc/nginx/conf.d/default.conf @@ -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 {