mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-24 16:26:04 +02:00
Update nginx_addition
This commit is contained in:
@@ -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 {
|
location = /.well-known/host-meta {
|
||||||
return 301 $scheme://$http_hostpublic.php?service=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{
|
location = /.well-known/nodeinfo{
|
||||||
return 301 $scheme://$http_host/index.php/.well-known/nodeinfo;
|
return 301 $scheme://$http_host/index.php/.well-known/nodeinfo;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user