caprover / nginx-reverse-proxy

A very simple reverse proxy using nginx and Docker
19 stars 41 forks source link

Detect/warn/remove final slash from UPSTREAM_HTTP_ADDRESS. #3

Closed digitalsanity closed 3 years ago

digitalsanity commented 3 years ago

I lost a couple of hours today tracking down the strangest issues while using the proxy, and they were all because I was including a final slash in UPSTREAM_HTTP_ADDRESS when I should not have.

githubsaturn commented 3 years ago

I am assuming you used the one-click app. I just added some notes to warn users about this: https://github.com/caprover/one-click-apps/commit/71d95e60ed5b3dd391b6f346218a6d892463fe1a