shifted org and added nginx conf

This commit is contained in:
2025-11-29 23:26:27 -06:00
parent cba15b4c6d
commit c7d1f8a782
11 changed files with 35 additions and 129 deletions

31
nginx.conf Normal file
View File

@@ -0,0 +1,31 @@
root /var/www/resume.keshavanand.net;
# Main site
location / {
# If the user types /, serve main.pdf
try_files $uri $uri/ /resume/main.pdf;
}
# Transcript
location /transcript {
try_files $uri $uri/ /transcripts/FallTranscript2025.pdf;
}
# Redirect /transcript/ to /transcript
location /transcript/ {
return 301 /transcript;
}
# Brag sheet
location /brag-sheet-rsi {
try_files $uri $uri/ /brag-sheet-rsi/main.pdf;
}
# Redirect /brag-sheet-rsi/ to /brag-sheet-rsi
location /brag-sheet-rsi/ {
return 301 /brag-sheet-rsi;
}
# Catch-all 404 -> serve main resume
error_page 404 = /resume/main.pdf;