1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/my_webapp_ynh.git synced 2024-09-03 19:46:26 +02:00
Commit graph

10 commits

Author SHA1 Message Date
Pierre de La Morinerie
192a8c3e46 Fix path to root directory
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:

> [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:

1. Install Yunohost 2.4
2. Add a new custom domain (e.g. mydomain.com)
3. Install a my_webapp using this custom domain
4. Attempt to open `mydomain.com./index.html` in a web browser

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 :)
2016-05-23 05:35:20 +02:00
Jérôme Lebleu
b6886dcbec [fix] Correct regex for hidden files in nginx.conf 2016-05-14 20:47:45 +02:00
Jérôme Lebleu
1e98b92d70 [enh] Deny access to hidden files and handle robots.txt in nginx.conf 2016-05-14 20:09:45 +02:00
Jérôme Lebleu
66225a1fe5 [enh] Rewrite scripts and app to offer an SFTP access instead 2016-05-14 19:26:10 +02:00
kload
2899cd7fee [enh] Make Cheryl to work + fetch libs from local 2015-08-22 11:39:25 +02:00
kload
0d067d051c [enh] Replace FTP by a simple PHP file manager 2015-08-21 22:02:48 +02:00
Julien Malik
2a88f770bf Update nginx.conf 2015-01-19 08:21:46 +01:00
opi
0a33d9a00b Include SSOWAT user panel. 2014-05-29 13:15:16 +02:00
Kload
2c6a89f068 [fix] Nginx default_type directive + sed commands with paths 2014-04-20 19:42:44 +02:00
Kload
bcb80b94f7 Init 2014-04-20 19:33:07 +02:00