This file name is uploaded after
Download the file to display 404 error
For example:
http://146.0.75.214/c7cc41dd89ef5fc5/a044fe4a3696e7ba094731e4d88b4fab.gif
Here is my NGINX rule.
Please help me analyze where there is a mistake.
Download the file to display 404 error
For example:
http://146.0.75.214/c7cc41dd89ef5fc5/a044fe4a3696e7ba094731e4d88b4fab.gif
Here is my NGINX rule.
Please help me analyze where there is a mistake.
Code:
server
{
listen 80;
#listen [::]:80;
server_name ********.com www.********.com;
index index.html index.htm index.php default.html default.htm default.php;
root /home/wwwroot/default;
location / {
if (!-e $request_filename) {
rewrite ^/(.*) /index.php?_page_url=$1 last;
}
}
location /files/ {
internal;
}
# these locations would be hidden by .htaccess normally
location /core/logs/ {
deny all;
}
#include yeti.conf;
#error_page 404 /404.html;
location ~ [^/]\.php(/|$)
{
# comment try_files $uri =404; to enable pathinfo
# try_files $uri =404;
fastcgi_pass unix:/tmp/php-cgi.sock;
fastcgi_index index.php;
include fastcgi.conf;
#include pathinfo.conf;
}
# YETI Pseudo static code BEGING ============
# YETI Pseudo static code END =============
access_log /home/wwwlogs/y.log access;
}