• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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