Confused
This commit is contained in:
parent
92032046fc
commit
85aaeb55e1
1 changed files with 3 additions and 4 deletions
|
@ -7,7 +7,7 @@ server {
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
if ( $http_user_agent ~ 'curl' ) {
|
if ( $http_user_agent ~ 'curl' ) {
|
||||||
return 302 https://momoperes.ca/resume;
|
return 302 https://momoperes.ca/resume.txt;
|
||||||
}
|
}
|
||||||
root /usr/share/nginx/html;
|
root /usr/share/nginx/html;
|
||||||
index index.html;
|
index index.html;
|
||||||
|
@ -18,8 +18,7 @@ server {
|
||||||
location = /50x.html {
|
location = /50x.html {
|
||||||
root /usr/share/nginx/html;
|
root /usr/share/nginx/html;
|
||||||
}
|
}
|
||||||
|
location = /resume.txt {
|
||||||
location = /resume {
|
root /usr/share/nginx/html;
|
||||||
try_files /usr/share/nginx/html/resume.txt =404;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue