• 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.

Forwarded to devs Error message for additional nginx directives are causing confusion when proxy mode is enabled

Kaspar

API expert
Plesk Guru
Username:

TITLE


Error message for additional nginx directives are causing confusion when proxy mode is enabled

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

Plesk: any version
Os: any OS

PROBLEM DESCRIPTION

Adding additional nginx directives containing a location / { } block causes an nginx error when Proxy Mode is enabled (which it is by default). This is expected behavior from a technical point of view. But the error message shown doesn't fully indicate what's causing the error and how to possibly solve it. It's not a bug per see, but it looks like quite a few users are struggling with this. As it's not clear to users that "Proxy Mode" also uses a location / { } block that's preventing them from adding their own root location block.

Some threads from user on this forum with users struggling with this issue:

Perhaps the error message can be improved on to also suggest a solution (i.e: disable proxy mode or use another location syntax). :)

STEPS TO REPRODUCE
  1. Add domain in Plesk
  2. Add some additional nginx directives containing a within a location / { } block
  3. See error

ACTUAL RESULT

Error message shown is technically correct, but not helpful in indicating what is causing the actual problem and offering a possible solution to users.

EXPECTED RESULT

A better, more clear, error indicating the issue and offering a solution.

ANY ADDITIONAL INFORMATION

(DID NOT ANSWER QUESTION)

YOUR EXPECTATIONS FROM PLESK SERVICE TEAM

Confirm bug
 
Last edited:
Thank you for the report, @Kaspar . I forwarded it to our team for further review and processing. I will follow-up with more details as soon as possible.
 
Back
Top