Welcome! Log In Create A New Profile

Advanced

RE: net::ERR_SSL_PROTOCOL_ERROR

Reinis Rozitis
February 12, 2020 03:04AM
> Hi!,
> I do not understand what should I modify.

The problem is your backend application (I assume node app) which listens on the 8080 port. While nginx is doing everything right the app responds and constructs the urls using internal ip and/or 'localhost'.

Depending on what the app uses for the urls you could try to add:

proxy_set_header Host $host;

in the location / { proxy_pass ... } block (for some reason you have it only in the server block which listens on port 81).


rr

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

net::ERR_SSL_PROTOCOL_ERROR

MarcoI February 11, 2020 02:22PM

Re: net::ERR_SSL_PROTOCOL_ERROR

J.R. February 11, 2020 07:16PM

Re: net::ERR_SSL_PROTOCOL_ERROR

MarcoI February 12, 2020 01:53AM

RE: net::ERR_SSL_PROTOCOL_ERROR

Reinis Rozitis February 12, 2020 03:04AM

Re: RE: net::ERR_SSL_PROTOCOL_ERROR

MarcoI February 12, 2020 04:05AM

Re: net::ERR_SSL_PROTOCOL_ERROR

MarcoI February 12, 2020 04:28AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 86
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready