hi,
i have this weird issues on my website where if i add a .html suffix to the sh404sef configuration i always got a 404 not found error on my links, it works fine without an html suffix, do your have any suggestion guys, anything i miss
see my nginx conf below..
location / {
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
try_files $uri $uri/ /index.php;
# Uncomment to enable naxsi on this location
# include /etc/nginx/naxsi.rules
}
location ~* \.(js|css|jpg|jpeg|gif|png|svg|ico|pdf|html|htm)$ { }
location ~* {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header Host $host;
proxy_pass http://127.0.0.1:6048;
}
i have this weird issues on my website where if i add a .html suffix to the sh404sef configuration i always got a 404 not found error on my links, it works fine without an html suffix, do your have any suggestion guys, anything i miss
see my nginx conf below..
location / {
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
try_files $uri $uri/ /index.php;
# Uncomment to enable naxsi on this location
# include /etc/nginx/naxsi.rules
}
location ~* \.(js|css|jpg|jpeg|gif|png|svg|ico|pdf|html|htm)$ { }
location ~* {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header Host $host;
proxy_pass http://127.0.0.1:6048;
}