I am new to nginx and easyengine and I’m picking up a lot.
I used to use before apache.
My question is as follows:
I have example.com and sub.example.com
How can I deny access to any IP (except my IP) to sub.example.com without interfering with example.com
It is how to do this?
TRADUZIDO DE:
Sou novo em nginx e easyengine e estou apanhando muito.
Costumava usar antes o apache.
Minha questão é a seguinte:
Tenho example.com e sub.example.com
Como posso negar acesso a qualquer IP (exceto o meu IP) a sub.example.com sem interferir em example.com
Tem como fazer isso?