format nginx/inc/messages.conf
This commit is contained in:
parent
cfbefe7ffc
commit
247a059909
1 changed files with 3 additions and 5 deletions
|
@ -18,12 +18,10 @@ error_page 504 /http-messages/504;
|
|||
recursive_error_pages on;
|
||||
|
||||
# security.txt
|
||||
|
||||
location = /security.txt {
|
||||
return 301 /.well-known/security.txt;
|
||||
return 301 /.well-known/security.txt;
|
||||
}
|
||||
|
||||
location = /.well-known/security.txt {
|
||||
root /srv/servnest/ht/http-messages/;
|
||||
try_files /security.txt =500;
|
||||
root /srv/servnest/ht/http-messages/;
|
||||
try_files /security.txt =500;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue