File Not Found logging in w/ nginx+phpMyAdmin in URL subdir

maria m. lists at ruby-forum.com
Mon Apr 16 18:27:36 UTC 2012


server {
listen 80;
server_name support.example.com;
access_log /var/log/nginx/support.example.com.access.log;
error_log /var/log/nginx/support.example.com.error.log;

# this root dir below is to the thebuggenie htdocs folder
root /home/user/public_html/support.example.com/thebuggenie;
client_max_body_size 40M;
large_client_header_buffers 4 8k;
index index.php index.html;

location ^~ /files { }

#location ~ \..*/.*\.php$ { return 403; }

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 ~ /(?<suburi>.*){
set $suburi $1;
try_files $uri $uri/ /index.php?url=$suburi&$args;
}

-- 
Posted via http://www.ruby-forum.com/.



More information about the nginx mailing list