Ordering
This commit is contained in:
parent
a83342e6fe
commit
92032046fc
1 changed files with 4 additions and 4 deletions
|
@ -5,10 +5,6 @@ server {
|
||||||
add_header Content-Security-Policy "default-src 'self'; object-src 'none'; style-src 'self' 'unsafe-inline'";
|
add_header Content-Security-Policy "default-src 'self'; object-src 'none'; style-src 'self' 'unsafe-inline'";
|
||||||
add_header X-Frame-Options "SAMEORIGIN";
|
add_header X-Frame-Options "SAMEORIGIN";
|
||||||
|
|
||||||
location = /resume {
|
|
||||||
try_files /usr/share/nginx/html/resume.txt =404;
|
|
||||||
}
|
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
if ( $http_user_agent ~ 'curl' ) {
|
if ( $http_user_agent ~ 'curl' ) {
|
||||||
return 302 https://momoperes.ca/resume;
|
return 302 https://momoperes.ca/resume;
|
||||||
|
@ -22,4 +18,8 @@ server {
|
||||||
location = /50x.html {
|
location = /50x.html {
|
||||||
root /usr/share/nginx/html;
|
root /usr/share/nginx/html;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location = /resume {
|
||||||
|
try_files /usr/share/nginx/html/resume.txt =404;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue