Welcome! Log In Create A New Profile

Advanced

проблема с location

Posted by izlom 
проблема с location
November 30, 2011 06:00AM
Связка Nginx+php-fpm, виртуалхосты лежат в /etc/nginx/sites/*.cfg,

include sites/shared;
include sites/*.cfg;


В каждом конфиге инклудиться /etc/nginx/server.cfg
Примерное содержимое:
location ~* ^/((at|web|squirrel)mail|roundcube|phpmyadmin) {
root /var/www/html;
deny all;
autoindex on;
index index.php ;
fastcgi_pass backend;

}



По идее он должен отдать 403 ошибку, НО показывается сам сайт. Подскажите где косяк?
Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 311
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready