How to create Nginx reverse proxy for Node.js application and let Nginx handle SSL on Plesk server?



1 comment

  • Avatar
    Stephen Howe

    This method works but then shows the domainname:port in the url bar, is there a way to do this with hiding the port?

    when i added the lines

    server_name_in_redirect off;
    proxy_set_header Host $host:$server_port;

    i get a 400 bad request error

    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request