mirror of
https://github.com/friendica/friendica
synced 2024-11-09 23:02:54 +00:00
Updated .well-known location within Nginx Sample Config:
Replaced try_files with a rewrite rule to prevent Nginx from spitting out 404 errors on addresses like: - <server.tld>/.well-known/host-meta - <server.tld>/.well-known/x-social-ray - <server.tld>/.well-known/nodeinfo - <server.tld>/.well-known/webfinger?resource=<resource>
This commit is contained in:
parent
ea4e772b1e
commit
2b38b7b7de
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ server {
|
||||||
# by denying dot files and rewrite request to the front controller
|
# by denying dot files and rewrite request to the front controller
|
||||||
location ^~ /.well-known/ {
|
location ^~ /.well-known/ {
|
||||||
allow all;
|
allow all;
|
||||||
try_files $uri /index.php?pagename=$uri&$args;
|
rewrite ^ /index.php?pagename=$uri;
|
||||||
}
|
}
|
||||||
|
|
||||||
include mime.types;
|
include mime.types;
|
||||||
|
|
Loading…
Reference in a new issue