I have two sites-enabled on Nginx server.
One is foo.example.com the second is example.com.
I want to restrict accessing foo.example.com's directory from example.com.
E.g if my example.com is hacked I dont want hackers to have access to foo.example.com
1.4m articles
1.4m replys
5 comments
57.0k users