diff --git a/conf/nginx.conf b/conf/nginx.conf index 1fdbde0..5c351ae 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -6,6 +6,7 @@ location __PATH__/ { # Path to source alias __INSTALL_DIR__/public/; - + index index.html; + try_files $uri $uri/ index.html; gzip off; } diff --git a/scripts/install b/scripts/install index db727c4..a038530 100755 --- a/scripts/install +++ b/scripts/install @@ -35,6 +35,8 @@ ynh_script_progression --message="Setting up source files..." --weight=1 # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$install_dir/sources" mkdir $install_dir/public +# Empty html page to fix the CI +echo "ChatonsInfos" > $install_dir/public/index.html # $install_dir will automatically be initialized with some decent # permission by default ... however, you may need to recursively reapply # ownership to all files such as after the ynh_setup_source step