disable HTTPS #5576
disable HTTPS
#5576
Replies: 1 comment
-
HTTPS_PORT was getting sent an empty string in my env var setup — it would be nice if the validation didn't flag this as a non-integer. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In my environment I'm running my own reverse proxy and managing certificates there. I want Plausible to think it's just running on regular HTTP.
If I do not specify HTTPS_PORT, I get an error saying that HTTPS_PORT must be an integer.
If I specify HTTPS_PORT, it tries to run certbot to get a certificate. This fails because lets encrypt cannot reach my host, but this is expected.
The docs say:
But I have HTTP_PORT set to 8000 and HTTPS_PORT set to a random number, and it still tries to get a cert.
There are no other errors appearing aside from the certbot one, but the server is refusing connections. It seems like it's insisting on an HTTPS connection rather than responding on HTTP 8000. Is this a bug or a configuration issue?
Beta Was this translation helpful? Give feedback.
All reactions