• 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 [nginx] Misbehavior with links with trailing slashes

manuth

New Pleskian
User name: manuth

TITLE

[nginx] Misbehavior with links with trailing slashes

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

Plesk Obsidian v18.0.25_build1800200325.19 os_Ubuntu 18.04, Ubuntu 18.04.4 LTS, x86_64

PROBLEM DESCRIPTION

Links with trailing slashes aren't treated correctly.
This issue can be reproduced by either applying a docker proxy-rule or adding a proxy_pass-directive manually.

STEPS TO REPRODUCE

  1. Create a fresh Ubuntu 18.04.4 installation
  2. Install plesk using the One Click Setup
  3. Create a docker-container serves a website wiht following structure:
    Code:
    /
    ├───test
    │ └───index.html
    └───index.html
  4. Make sure that your container answers when requesting /test/
  5. Create a (sub-)domain with 301-redirection to https
  6. In the nginx & Apache options disable proxy mode
  7. Add a proxy rule for the container or...
  8. ...add a proxy_pass-directive for your container manually
  9. Request /test/

ACTUAL RESULT

A 404-error is displayed to the user
Following log-entry is added to the log:
Code:
11674#0: *651 "/var/www/vhosts/nuth.ch/httpdocs/test/index.html" is not found (2: No such file or directory
Even though nginx isn't supposed to look for a file but it's supposed to pass all requests to the docker-container.

EXPECTED RESULT

The request should be passed using the proxy_pass-directive.

ANY ADDITIONAL INFORMATION



YOUR EXPECTATIONS FROM PLESK SERVICE TEAM


Confirm bug
 
Last edited:
From developer:

At the moment this looks more like some nginx misconfiguration issue. I recommend contacting Plesk Support Team. It would be helpful to look at nginx configs.
 
Back
Top