New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated .well-known location within Nginx Sample Config: #6221

Merged
merged 1 commit into from Dec 1, 2018
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.
+1 −1
Diff settings

Always

Just for now

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>
  • Loading branch information...
wouter705 committed Dec 1, 2018
commit 2b38b7b7de8c2da9f6cbb5a11ead13569570258d
Copy path 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;
ProTip! Use n and p to navigate between commits in a pull request.