• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Issue Can't get Magento URL rewrites to work in additional Nginx directives when running PHP as FPM served by Nginx

zigojacko

Basic Pleskian
We've got Plesk Obsidian set up on a dev server and we're building a Magento 2 websites which requires a couple of temporary URL rewrites set up before the website gets migrated to the client's server (which will be running Apache and the rewrites set up in .htaccess).

I don't believe we've ever tried this before for Magento running Nginx but can't seem to get this working at all.

Plesk Obsidian 18.0.23
Magento 2.3.3
PHP 7.1.33 running as FPM application served by Nginx
Nginx settings below

nginx-settings.png

I've tried all sorts of variations of these but should one of these ways below work?

nginx-rewrites.png

Please could someone point out what I am doing wrong...?
 
I couldnt make it work with nginx too, only as reverse proxy in front of apache rewrites.
 
I couldnt make it work with nginx too, only as reverse proxy in front of apache rewrites.

Interesting. Strange as normally in another environment, those Nginx rewrites should work (I'm not sure I've set them in Plesk directly before though).

Thanks for your reply though. Maybe someone else might know how to get them working but in this case ,I won't stress too much as they'll be in .htaccess when the site launches anyway.
 
Back
Top