proxy http requests to different port numbers?

Francis Daly francis at
Wed Oct 2 12:07:32 UTC 2019

On Tue, Oct 01, 2019 at 10:17:36AM -0400, lvic4594 wrote:

Hi there,

> Works with http but not with https: I tried to add second proxy_pass for
> https 
> server {
>         listen       443 ssl;
>         server_name  _;
>         ssl_certificate     my.crt;
>         ssl_certificate_key my.key;

> For https I have "resource not found /usr/share/nginx/html/rest2/" e.g.
> nginx is not trying to proxy https request....

Have you any evidence (logs, "curl -v" output) that your request is
being handled in this nginx server{} block?

Francis Daly        francis at

More information about the nginx mailing list