Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
nginx reverse proxy giving Empty reply from server instead of 301/302 to https
« previous
next »
Print
Pages: [
1
]
Author
Topic: nginx reverse proxy giving Empty reply from server instead of 301/302 to https (Read 2142 times)
kodili
Newbie
Posts: 1
Karma: 0
nginx reverse proxy giving Empty reply from server instead of 301/302 to https
«
on:
November 05, 2021, 04:58:51 am »
I've been beating my head against the wall on this one for a few days and didnt find anything in my searches. i have nginx set up with several upstreams all forcing https. basically everything works fine with the exception of redirecting 80 to 443. when i do a browser call or a basic curl call i just get curl: (52) Empty reply from server. i have force https on the location, https only on the http server and i'm assuming the upstreams are configured correctly because the https does in fact proxy back to them. is there a step i missed? TIA
Logged
Fright
Hero Member
Posts: 1777
Karma: 164
Re: nginx reverse proxy giving Empty reply from server instead of 301/302 to https
«
Reply #1 on:
November 05, 2021, 06:22:29 pm »
something should be visible in the nginx logs
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
nginx reverse proxy giving Empty reply from server instead of 301/302 to https