Forum Discussion
standby
Nimbostratus
Nov 13, 2022Help with upstream prematurely closed!
Hello everyone! I'm trying to publish a blazor server app (just a template app for testing) on Nginx in debian 11. Actually i have like a week stucked with this problem, reading every post writted a...
Daniel_Wolf
MVP
Nov 14, 2022Hi standby,
your NIGNX config appears to be valid syntax. What error message to you get?
Do the ssl_certificate and ssl_certificate_key exist in the location you specified?
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
ssl_certificate /etc/nginx/cert.pem;
ssl_certificate_key /etc/nginx/cert.key;
What outpout do you get when you run?
nginx -t
Did you try to run tcpdump on the server to check who is closing the connection? NGINX? Or your upstream server?
KR
Daniel
Ashuda
Altostratus
Nov 14, 2022Hi Daniel_Wolf
I am also facing an issue with similar criteria. Can you please guide and help me on this ?
https://community.f5.com/t5/technical-forum/nginx-502-bad-gateway/m-p/304386#M263319
Thanks