Simple Machines Community Forum

SMF Support => Server Performance and Configuration => Topic started by: miika on July 29, 2017, 05:16:15 AM

Title: Nginx + pretty urls
Post by: miika on July 29, 2017, 05:16:15 AM
This has probably been here on the boards many times but can't really find an answer from recent years.

I can't make the nginx + pretty urls -combo to work properly in all situations. I found a post (https://www.simplemachines.org/community/index.php?topic=371631.0) from 2011 with rewrite rules and they work fine in most cases. However at least editing a post doesn't work. The form gets sent to /board-name/?action=post2&... -url and then the user is redirected to /board-name/?action=post - a view to post a new thread - and the edit doesn't get saved.

Is there anywhere a working list of rewrite rules to use with nginx?
Title: Re: Nginx + pretty urls
Post by: digger on July 29, 2017, 05:25:52 AM
You can disable pretty urls for actions.