Browse Source

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>
pull/6221/head
Wouter Broers 2 years ago
parent
commit
2b38b7b7de
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mods/sample-nginx.config

+ 1
- 1
mods/sample-nginx.config View File

@ -91,7 +91,7 @@ server {
# by denying dot files and rewrite request to the front controller
location ^~ /.well-known/ {
allow all;
try_files $uri /index.php?pagename=$uri&$args;
rewrite ^ /index.php?pagename=$uri;
}
include mime.types;


Loading…
Cancel
Save