DSM6 : Configure Nginx for Wordpress permalinks (avoid 404)


Staff member
With the Synology DSM6 update, we have now to use Nginx instead of Apache. By default Nginx configuration don't allow wordpress permalinks (generate 404).

I read the idea was to transform the /uri in /?p=$uri and put this configuration in the "location" section of the server nginx config.

Where to put this configuration in DSM6 exactly ?