• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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