Advertisement:

Author Topic: Nginx + pretty urls  (Read 1138 times)

Offline miika

  • Newbie
  • *
  • Posts: 2
Nginx + pretty urls
« 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 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?

Offline digger

  • Full Member
  • ***
  • Posts: 678
  • Gender: Male
    • realdigger on GitHub
    • SMF Russian Community
Re: Nginx + pretty urls
« Reply #1 on: July 29, 2017, 05:25:52 AM »
You can disable pretty urls for actions.