Welcome! Log In Create A New Profile

Advanced

Re: proxy http requests to different port numbers?

October 03, 2019 09:14AM
The same thing happens if i have both http and https in the same server block, which is the only one in config:

server {
listen 80;
listen 443 ssl;
server_name _;
ssl_certificate myserver.crt;
ssl_certificate_key myserver.key;
root /usr/share/nginx/html;
client_max_body_size 200M;

# Load configuration files for the default server block.
include /etc/nginx/default.d/*.conf;
location /http {
proxy_pass http://myserver:9092;
}
location /tls {
proxy_pass https://myserver:8444;
}
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: 79
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