Forum Discussion

standby's avatar
standby
Icon for Nimbostratus rankNimbostratus
Nov 13, 2022

Help 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...
  • standby's avatar
    Nov 15, 2022

    I just solved the problem, the server block was redirecting to ssl, but when i call the upstream i was not doing with https!

    To solve i just change 

            proxy_pass http://dotnet;

     to 

            proxy_pass https://dotnet;

    and now everything works fine. 

    I hope this could help more ppl because i lost so much time in this...