Quote:
Originally Posted by Skyrider
Again:
the nginx config in the do_not_upload
Code:
location ~* \.(png|jpg|jpeg|gif|ico)$
{
expires 30d;
log_not_found off;
}
location /
{
try_files $uri $uri/ /dbseo.php;
}
location ~ ^((?!dbseo).)*\.php$
{
rewrite ^/(.*)$ /dbseo.php last;
}
location ~* \.(php)$
{
fastcgi_index index.php;
fastcgi_pass unix:/var/run/php5-fpm.sock;
include /etc/nginx/fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param SCRIPT_NAME $fastcgi_script_name;
fastcgi_param PATH_TRANSLATED $document_root$fastcgi_script_name;
}
Gives:
nginx: [emerg] duplicate location "/" in /xx/xxx/xxx.conf:7
The above is a clean config btw. No extra things has been added.
|
Did you upload the file from the folder called do_not_upload you do understand why the folder is named like that it is named for a reason