Commit graph

9 commits

Author SHA1 Message Date
selfhoster1312
3e1850d789 Run shellcheck to find bash common mistakes
Complete command: shellcheck -e SC2154,SC1091,SC2034,SC2148 scripts/*
2024-08-24 19:51:17 +02:00
Éric Gaspar
ecfcf2d4e8 v2 2023-11-25 19:23:56 +01:00
Éric Gaspar
860ca94202 v2 2023-11-25 19:20:44 +01:00
Éric Gaspar
fc5f7521f2 v2 2023-11-25 19:16:11 +01:00
selfhoster1312
db2eefa498 Handle config checksums in change_url scripts 2023-01-10 19:03:54 +01:00
selfhoster1312
c7b5b3dbee Handle edgecases gracefully
Yunohost templating doesn't like @__NAME____proxy because `reverseproxy__2__proxy` will evaluate __2__ to $2
or @__NAME__@proxy because ynh_replace_vars uses @ as sed delimiter
and ynh_replace_vars really hates multiline blocks... Using actual newlines in string produces a sed unclosed delimiter error,
while using \n gets them double escaped to some weird output that crashed nginx.
2023-01-10 13:12:50 +01:00
selfhoster1312
ee7c5e9443 Follow recommendations to use more helpers 2023-01-08 16:01:27 +01:00
selfhoster1312
bc55b0d0ff Use ynh_script_progression in _common.sh script 2023-01-08 14:46:10 +01:00
selfhoster1312
3e05849509 First release of reverseproxy_ynh 2023-01-08 14:33:31 +01:00