Then, we will edit the file /etc/nginx/nginx/nginx.conf
This is what I put in mine :
user www-data;
worker_processes 2;
error_log /var/log/nginx/error.log;
pid/var/run/nginx.pid;
events {
worker_connections 1024;
}
http {
include /etc/nginx/mime.types;
default_type
yes.
update and test
02.06.2014 10:24, wishmaster пишет:
I have the same problem in my php-application. Admin folder is protected with
auth_basic and the rest folders - without auth. I have not found any solution
except code duplication for php location.
--- Original message ---