Closed kemenaran closed 8 years ago
SInce installing Yunohost 2.4, I couldn't display the index.html page of a vanilla my_webapp installation (404). Nginx logs displayed this error:
index.html
[error] 6345#0: *218 open() "/usr/share/nginx/htmlindex.php" failed (2: No such file or directory), client: 82.66.214.87, server: kemenaran.eu, request: "GET /index.html HTTP/1.1", host: "kemenaran.eu"
Steps to reproduce:
mydomain.com./index.html
Without this patch, the request fails with a 404 error.
Adding this trailing slash solves the issue. I'm not sure this is how it should be solved, but it fixed a painful issue for me :)
Thanks! :)
SInce installing Yunohost 2.4, I couldn't display the
index.html
page of a vanilla my_webapp installation (404). Nginx logs displayed this error:Steps to reproduce:
mydomain.com./index.html
in a web browserWithout this patch, the request fails with a 404 error.
Adding this trailing slash solves the issue. I'm not sure this is how it should be solved, but it fixed a painful issue for me :)