Update nginx_addition

This commit is contained in:
Alexandre
2023-03-05 19:34:55 +01:00
committed by GitHub
parent 41de9cb7c9
commit c32044d3af

View File

@@ -1,4 +1,4 @@
add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload;"
add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload;";
location = /.well-known/host-meta {
return 301 $scheme://$http_hostpublic.php?service=host-meta;
@@ -23,3 +23,4 @@ return 301 $scheme://$http_host/index.php/.well-known/webfinger;
location = /.well-known/nodeinfo{
return 301 $scheme://$http_host/index.php/.well-known/nodeinfo;
}
}