I wrote a Nginx module HTTP ownermatch solved Nginx http://www.aliyun.com/zixun/aggregation/14840.html "> link between virtual hosts via linked files (hard links and symbolic links) Cross-station access issues. This module allows you to specify which user files each Location can or cannot access for each virtual host.
Configuration file Instance
Location/{root HTML; index index.html index.htm omallow heiher; # Allow access to files belonging to Heiher Omallow guest sftp; # Allow access to belong to Guest:sftp File Omdeny all; # do not allow access to any other files}
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.