麻烦nginx和从同一个域下的多个目录服务
我有nginx安装程序来从/ usr / share / nginx / html服务,并且它做得很好。 我也想添加它从同一个域上的/ home / user / public_html / map服务。 所以: my.domain.com会让你在/ usr / share / nginx / html中的文件 my.domain.com/map会为你提供/ home / user / public_html / map中的文件 使用下面的configuration(/etc/nginx/nginx.conf),它看起来是去my.domain.com/map/map注意到这一点: 2011/03/12 09:50:26 [error] 2626#0: *254 "/home/user/public_html/map/map/index.html" is forbidden (13: Permission denied), client: <edited ip address>, server: _, request: "GET /map/ HTTP/1.1", […]