Maybe it would work if you add this nginx directive under WEBSITE --> OPTIONS --> NGINX DIRECTIVES.
For example, to mimic Apache's mod-rewrite (which is needed for Wordpress, Joomla and such) I simply add this code under above mentioned nginx directives: