Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Rewrite

$
0
0
Hello, moved from one version to another joomla. need to http requests html opened without html
the code below did not help me, gives 500 error, but if I remove the hands .html page that opens successfully


location ~ \.html$ {
if (!-e $request_filename) {
rewrite ^/(.*)\.html$ /$1 last;
}
}

my sef
from
/second/88-pasta/1239-nautically.html
to
/second/88-pasta/1239-nautically

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>