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