Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
170 views
in Technique[技术] by (71.8m points)

Nginx Disabling folder access from non-root domain to root domain

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

question from:https://stackoverflow.com/questions/65871846/nginx-disabling-folder-access-from-non-root-domain-to-root-domain

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...