From: Shane Jaroch Date: Sat, 10 Jan 2026 17:58:06 +0000 (-0500) Subject: resume paths X-Git-Url: https://git.nutra.tk/v2?a=commitdiff_plain;h=642da0ed846b106298f9d95d620fcc15a8c71077;p=nutratech%2Fvps-root.git resume paths --- diff --git a/etc/nginx/conf.d/default.conf b/etc/nginx/conf.d/default.conf index 7da95dc..b9f2570 100644 --- a/etc/nginx/conf.d/default.conf +++ b/etc/nginx/conf.d/default.conf @@ -116,17 +116,15 @@ server { allow all; } - # resumes + # CV paths location ~ ^/cv/(~?swe|swe~/resume\.pdf)$ { alias /var/www/cv/swe/resume.pdf; default_type application/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 ~ ^/resume(\.pdf|/swe\.pdf)$ { + alias /var/www/cv/swe/resume.pdf; + default_type application/pdf; + } # public folder location /public { @@ -143,6 +141,7 @@ server { ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot } +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # Redirect www.dev.nutra.tk -> dev.nutra.tk server { listen 443 ssl; @@ -160,7 +159,9 @@ server { return 301 https://dev.nutra.tk$request_uri; } +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # Listen on 443 with matrix / synapse +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server { listen 443 ssl; listen 443 quic;