Re: proxy http requests to different port numbers?

2019-10-03 Thread lvic4594
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

Re: proxy http requests to different port numbers?

2019-10-01 Thread lvic4594
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/*.c

proxy http requests to different port numbers?

2019-09-26 Thread lvic4594
Hello, I have several http services in the host using different port numbers, for example one REST service listening on 8080, another on 8086. Presently VPN is filtering out all those requests, the only port number allowed for HTTP is 80. Looking for workaround: are there any available proxy module