• 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 multiple subdomain .conf

ink169

New Pleskian
Server operating system version
Ubuntu 24.04.3
Plesk version and microupdate number
18.0.74 Update #3
Hello!

our situation is we have 2 subdomains under the primary domain.

The 1st one i set the location in the Additional nginx directives to point to port 3000 which has been working great.

Now i have added another subdomain and created an application at port 3001, when i try and add the same location directive on this subdomain it gives an error that this is a duplicate of the "\" parameter for the location which i guess must be at the global level ?

Anyway what it seems i need is to configure multiple 'server' definitions pointing at the different applications / folders - the examples i see are in the .conf files but i dont want to start hacking these manually when there is probably a way to configure this setup in the Plesk interface

Thanks again, all comments welcome !

 
Try adding your proxy pass without the location block and see what happens, or remove the directive, save, then readd the directive. I've ran into that a few times and usually doing it without the location block and/or deleting it saving then readding it always does the trick for me.
 
Back
Top