From 565906e9f5689f9940cb4063e77e62e1525d746a Mon Sep 17 00:00:00 2001 From: ruslandoga Date: Mon, 25 Mar 2024 11:38:18 +0800 Subject: [PATCH] add note about removing localhost-only binding --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 2e7eb3b..9e51374 100644 --- a/README.md +++ b/README.md @@ -97,6 +97,20 @@ And then we decide on the [`BASE_URL`](#base_url) where the instance would be ac We can start our instance now but the requests would be served over HTTP. Not cool! Let's configure [Caddy](https://caddyserver.com) to enable HTTPS. +
Don't need reverse proxy? + +If you're **opting out** of a reverse proxy and HTTPS, you'll need to adjust the Plausible service [configuration](https://github.com/plausible/community-edition/blob/v2.0.0/docker-compose.yml#L38) to ensure it's not limited to localhost (127.0.0.1). This change allows the service to be accessible from any network interface: + +[docker-compose.yml](https://github.com/plausible/community-edition/blob/v2.0.0/docker-compose.yml#L38) +```diff +plausible: + ports: +- - 127.0.0.1:8000:8000 ++ - 8000:8000 +``` + +
+ > For other reverse-proxy setups please see [reverse-proxy](https://github.com/plausible/hosting/tree/master/reverse-proxy) docs.