nginx: add directives for .well-known and nodeinfo

This commit is contained in:
Luna 2018-12-06 17:44:50 -03:00
parent 6defce0f9e
commit 91dba542df
1 changed files with 16 additions and 0 deletions

View File

@ -10,6 +10,22 @@ server {
proxy_pass http://localhost:5000; proxy_pass http://localhost:5000;
} }
# if you're hosting a custom index page while keeping
# litecord on /api, be sure to pass /.well-known and /nodeinfo to
# it too.
# location /api {
# proxy_pass http://localhost:5000;
# }
#
# location /.well-known {
# proxy_pass http://localhost:5000;
# }
#
# location /nodeinfo {
# proxy_pass http://localhost:5000;
# }
# if you don't want to keep the gateway # if you don't want to keep the gateway
# domain as the main domain, you can # domain as the main domain, you can
# keep a separate server block # keep a separate server block