• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.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