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
STEPS TO REPRODUCE
ACTUAL RESULT
A 404-error is displayed to the user
Following log-entry is added to the log:
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
ANY ADDITIONAL INFORMATION
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM
Confirm bug
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
- Create a fresh Ubuntu 18.04.4 installation
- Install plesk using the One Click Setup
- Create a docker-container serves a website wiht following structure:
Code:/ ├───test │ └───index.html └───index.html
- Make sure that your container answers when requesting
/test/
- Create a (sub-)domain with 301-redirection to https
- In the nginx & Apache options disable proxy mode
- Add a proxy rule for the container or...
- ...add a
proxy_pass
-directive for your container manually - 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
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: