mina 报错
Permission denied,please try agin
配置文件的信息:
upstream myapp{
server unix:/tmp/unicorn.hpp.sock;
}
server {
listen 80;
server_name hpp;
client_max_body_size 4G;
client_body_buffer_size 20M;
access_log /home/hmpuser/deploy/shared/log/access.log;
error_log /home/hmpuser/deploy/shared/log/error.log;
root /home/hmpuser/deploy/current;
index index.html;
location / {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_redirect off;
try_files /system/maintenance.html $uri $uri/index.html $uri.html @user1;
}
server{
listen 80;
server_name rhh;
access_log /home/hmpuser/deploy/shared/log/access2.log;
error_log /home/hmpuser/deploy/shared/log/error2.log;
root /home/hmpuser/deployRhea/current;
index index.html;
location /{
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_redirect off;
try_files /system/mainteance.html $uri $uri/index.html $uri.html @user2;
}
}
location @user3{
proxy_pass http://myap;
}
}