This commit is contained in:
Aram 🍐 2019-11-20 20:37:34 -05:00
parent 92032046fc
commit 85aaeb55e1

View file

@ -7,7 +7,7 @@ server {
location / {
if ( $http_user_agent ~ 'curl' ) {
return 302 https://momoperes.ca/resume;
return 302 https://momoperes.ca/resume.txt;
}
root /usr/share/nginx/html;
index index.html;
@ -18,8 +18,7 @@ server {
location = /50x.html {
root /usr/share/nginx/html;
}
location = /resume {
try_files /usr/share/nginx/html/resume.txt =404;
location = /resume.txt {
root /usr/share/nginx/html;
}
}