1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/elabftw_ynh.git synced 2024-09-03 18:26:23 +02:00
This commit is contained in:
ericgaspar 2021-08-12 14:01:48 +02:00
parent 64ef48645e
commit 459d63b487
2 changed files with 2 additions and 3 deletions

View file

@ -1,7 +1,7 @@
location / { location / {
# Path to source # Path to source
alias __FINALPATH__/web; alias __FINALPATH__/web/;
# Force usage of https # Force usage of https
if ($scheme = http) { if ($scheme = http) {
@ -10,7 +10,7 @@ location / {
index index.php; index index.php;
try_files $uri $uri/ __PATH__/__PATH__/index.php?$query_string; try_files $uri $uri/ __PATH__/index.php?$query_string;
location ~ \.php$ { location ~ \.php$ {
if (!-e $request_filename) { if (!-e $request_filename) {

View file

@ -130,7 +130,6 @@ pushd "$final_path"
ynh_script_progression --message="Yarn install..." ynh_script_progression --message="Yarn install..."
npm install brotli npm install brotli
yarn install --pure-lockfile --prod && yarn run buildall && rm -rf node_modules && yarn cache clean yarn install --pure-lockfile --prod && yarn run buildall && rm -rf node_modules && yarn cache clean
popd popd
#================================================= #=================================================