Welcome! Log In Create A New Profile

Advanced

Force SSL on a specific port

Posted by csi_nginx 
Force SSL on a specific port
October 25, 2017 04:40AM
Hi there, just a quick question- I've read several threads that concentrate on forwarding e.g. from 80 (http) to 443 (https), but I'd like to know if there's a possibility to let's say forward http:8082 to http[s]:8082?

Thank you very much in advance for your time!
Re: Force SSL on a specific port
October 25, 2017 10:17AM
https is a protocol, the port it uses can be any port, forwarding to https differs in using a certificate and telling the server {} block to use ssl.

---
nginx for Windows http://nginx-win.ecsds.eu/
Sorry, only registered users may post in this forum.

Click here to login

Online Users

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