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;
        root         /usr/share/nginx/html;
       include /etc/nginx/default.d/*.conf;

        location /rest2/ {
            proxy_pass  https://myserver.com:8444/;

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

Posted at Nginx Forum: 
https://forum.nginx.org/read.php?2,285723,285768#msg-285768

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

Reply via email to