help with nginx rewrite rules (full friendly URLs) for use in Ubuntu 20.04/Plesk?

zoldos

Well-known member
I switched to only nginx for my server (by turning off Apache Proxy mode). But full friendly URLs no longer work, since I can't seem to use .htaccess in this mode.

However, I did see a section in Plesk for nginx directives where I can add nginx specific rewrite rules to make my site friendly again. What are these rules? I tried it myself after googling quite a bit, but the solutions I found were a bit ambiguous. lol

Thanks!
 
Where do I put those rules? I tried them in "Additional nginx directives" in Plesk, restarted nginx, enabled friendly URLs, and it doesn't work. 404 error on any page besides home. I changed /xf/ to /httpdocs/ .....
 
Top Bottom