From 91dba542dfc0fc2b7ecc02fec770ca37ac746acc Mon Sep 17 00:00:00 2001 From: Luna Date: Thu, 6 Dec 2018 17:44:50 -0300 Subject: [PATCH] nginx: add directives for .well-known and nodeinfo --- nginx.conf | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/nginx.conf b/nginx.conf index b29c560..ff09adb 100644 --- a/nginx.conf +++ b/nginx.conf @@ -10,6 +10,22 @@ server { 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 # domain as the main domain, you can # keep a separate server block