• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

Question Custom nginx settings

SerjGAmoVeR

New Pleskian
Hi

I have a custom solution with two parts:
- Content with Wordpress
- Application with PHP framework

I wanna merge it under one domain with this logic:

- If page exists in application, show this page
- In other case, redirect request to Wordpress

Case:

location ^~ /blog/ {
proxy_pass http://wordpress_upstream;
}

upstream wordpress_upstream {
server blog; # IP or server address
}

Full config is here
wordpress_and_yii.nginx.conf · GitHub

Is it possible to impletement this solution with Plesk?
 
Back
Top