Update readme.txt

README.md is autogenerated
This commit is contained in:
Silk Sow 2019-11-18 09:54:12 -08:00 committed by GitHub
parent c149872a2f
commit 4413db850d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -68,15 +68,14 @@ Add the following to the .htaccess file in the root directory:
`RedirectMatch "^\/\.well-known(.*)$" "\/blog\/\.well-known$1"`
Where 'blog' is the path to the subdirectory at which your blog resides.
= What if you are running your blog in a subdirectory? =
**Nginx**
In order for WebFinger to work, it must be mapped to the root directory of the URL on which your blog resides.
Add the following to the site.conf in sites-available:
**Apache**
Add the following to the .htaccess file in the root directory:
RedirectMatch "^\/\.well-known(.*)$" "\/blog\/\.well-known$1"
`location ~* /.well-known {
allow all;
try_files $uri $uri/ /blog/?$args;
}`
Where 'blog' is the path to the subdirectory at which your blog resides.