Welcome! Log In Create A New Profile

Advanced

Site should not be accessed through IP

April 09, 2015 02:09PM
Hi Guys,

I have my nginx box deployed as a reverse proxy serving almost more than 10 sites. But when I browse through 1 IP the first site configured gets accessed. I dont want anyone to access the sites through IP, by using only FQDN sites should be accesible.

So anyone trying to access the site using IP should recieve a host not found or may be error like COnnection reset.

Can we do that in nginx?
Subject Author Posted

Site should not be accessed through IP

blason April 09, 2015 02:09PM

Re: Site should not be accessed through IP

FinalX April 09, 2015 02:13PM

Re: Site should not be accessed through IP

blason April 09, 2015 02:30PM

Re: Site should not be accessed through IP

Sebastian Stabbert April 09, 2015 02:14PM

Re: Site should not be accessed through IP

FinalX April 09, 2015 02:40PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 174
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready