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

Nginx rewrite and prevent acces to original

$
0
0
How to prevent access to the original url

rewrite ^/account /account.php last;

I would like access to account.php return 404.

Thanks

Viewing all articles
Browse latest Browse all 4759

Trending Articles



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