Restrict Site access using IP

Discussion in 'Server Operation' started by scolak, Jul 17, 2017.

  1. scolak

    scolak New Member

    Hi,
    I want to restrict site access using IP in my nginx and ISP Config 3.1, but when I enter it into vhost by hand, ISP Config overwrites it. Is there any way to do that with ISP Config?
    My rule looks something like this:
    deny all;
    allow xxx.xxx.xxx.xxx;
    (Standard nginx rule)
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Use the cutom nginx directives field on the options tab of the website.
     

Share This Page