Nginx rewrite

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
Kekeli
Posts: 2
Joined: Thu May 14, 2020 2:26 pm

Nginx rewrite

Post by Kekeli » Tue Jun 02, 2020 5:07 am

Hi, Im testing PMF for the first time on Nginx (Centminmod).

I managed to install it without issue. I decided to activate url rewrite and then got a 404 error. I went back to the documentation and saw this

"copy the rewrite rules in the file _nginx.conf to your nginx.conf. Then you have to activate the URL rewrite support in the admin backend in the configuration page."


So is "_nginx.conf" in PhpMyFaq folders or do I have to copy it from somewhere else?

Thorsten
Posts: 15049
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Nginx rewrite

Post by Thorsten » Tue Jun 02, 2020 6:22 am

Hi,

the rules are here: https://github.com/thorsten/phpMyFAQ/bl ... nginx.conf

You can use them for your nginx configuration.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

Kekeli
Posts: 2
Joined: Thu May 14, 2020 2:26 pm

Re: Nginx rewrite

Post by Kekeli » Tue Jun 02, 2020 8:58 am

Thank you very much :clap: !

Post Reply