• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

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.
 
In addition to the suggestion by @scsa20, it might be that "Proxy mode" is enabled on your subdomain. Which will prevent you from adding a root location block in your nginx directives. If "Proxy mode" is enabled, disabled it, save the changes first and then try adding your nginx directives.
 
Last edited:
Back
Top