псевдоним nginx php 403

Мой webroot — / web / zjz, я хочу использовать http://new.ahsl.gov.cn/zjz/ просмотреть, но ответы 403, я не знаю, где ошибка, пожалуйста, помогите мне, спасибо
Конфигурация nginx:

server {
listen       80;
server_name  new.ahsl.gov.cn www.ahsl.gov.cn;

access_log  /var/log/nginx/www.test.gov.cn_access.log  main;
root   /web/master;

location ^~ /zjz/ {
alias /web/zjz;

location ~ \.php$ {
fastcgi_pass   127.0.0.1:9000;
fastcgi_index  index.php;
fastcgi_param  SCRIPT_FILENAME  /web/zjz/$fastcgi_script_name;
include        fastcgi_params;
}
}

location / {
index  index.html index.htm index.php;
include /web/master/.htaccess;
}

error_page   500 502 503 504  /50x.html;
location = /50x.html {
root   /usr/share/nginx/html;
}

location ~ \.php$ {
fastcgi_pass   127.0.0.1:9000;
fastcgi_index  index.php;
fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;
include        fastcgi_params;
}

location ~ \.(jpg|png|gif)$ {
expires 1h;
gzip on;
}
}

0

Решение

Задача ещё не решена.

Другие решения

Других решений пока нет …

По вопросам рекламы ammmcru@yandex.ru
Adblock
detector