I'm trying to setup NGINX for HTTPS.
I have a node app and NGINX acting as a reverse proxy.
However once setup and trying to access my website I get "too many redirects" error,
I think something is wrong with my NGINX configuration, any help?
Asked
Active
Viewed 248 times
0

Omar Salama
- 41
- 2
-
Post your config as text and not image. – Marc Aug 12 '21 at 08:44
-
Would it matter? – Omar Salama Aug 16 '21 at 00:47
-
Complete the [Tour](https://stackoverflow.com/tour) and read ["How to Ask"](https://stackoverflow.com/help/how-to-ask). Then you know why it matters. – Marc Aug 16 '21 at 07:52
1 Answers
0
The problem was that proxy_pass should have been https not http. It basically kept redirecting me to http back and forth.

Omar Salama
- 41
- 2