Welcome! Log In Create A New Profile

Advanced

Nginx rewrite and prevent acces to original

Posted by Hindra 
Nginx rewrite and prevent acces to original
July 21, 2016 04:53PM
How to prevent access to the original url

rewrite ^/account /account.php last;

I would like access to account.php return 404.

Thanks
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 129
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready