• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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