Commit graph

5 commits

Author SHA1 Message Date
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