mirror of https://gitlab.com/litecord/litecord.git
nginx: add directives for .well-known and nodeinfo
This commit is contained in:
parent
6defce0f9e
commit
91dba542df
16
nginx.conf
16
nginx.conf
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue