Welcome! Log In Create A New Profile

Advanced

Re: proxy http requests to different port numbers?

October 01, 2019 10:17AM
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....
Subject Author Posted

proxy http requests to different port numbers?

lvic4594 September 26, 2019 02:40PM

Re: proxy http requests to different port numbers?

Francis Daly September 29, 2019 04:26AM

Re: proxy http requests to different port numbers?

lvic4594 October 01, 2019 10:17AM

Re: proxy http requests to different port numbers?

Francis Daly October 02, 2019 08:08AM

Re: proxy http requests to different port numbers?

lvic4594 October 03, 2019 09:14AM

Re: proxy http requests to different port numbers?

Francis Daly October 03, 2019 11:24AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 66
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