Commit graph

18 commits

Author SHA1 Message Date
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
Alexandre Aubin
ee5bdaf014
Kill legacy setting_set on is_public 2022-08-16 23:30:25 +02:00
ericgaspar
9301da5ebc Update upgrade 2021-08-22 09:01:11 +02:00
ericgaspar
72f60aa736 Fix 2021-08-22 08:58:18 +02:00
ericgaspar
346fb7fa57
Fix linter warnings 2021-01-23 15:21:17 +01:00
Alexandre Aubin
5a76baaf61 Misc cleaning 2019-05-15 19:03:01 +02:00
Alexandre Aubin
650d69514d is_public was a lie. Only reverse proxy can be private. 2019-05-15 19:02:52 +02:00
Alexandre Aubin
5ccd094fa9 Moar misc fixes following tests... 2019-05-10 03:39:03 +02:00
Alexandre Aubin
ef4ed69b65 Use path_url instead of path, because helpers require it 2019-05-09 19:57:27 +02:00
Alexandre Aubin
6cfc256603 Various fixes for linter warnings / deprecrated practices 2019-05-09 14:56:10 +02:00
Jean-Baptiste Holcroft
a46bb24470 Add basic helpers 2018-05-26 10:27:01 +02:00
Jean-Baptiste Holcroft
0518b75125 Remove sudo 2018-05-26 10:01:42 +02:00
opi
b9633e1357 [fix] Save redirect_type default value. #1 2016-11-23 21:53:14 +01:00
opi
3ddd81183d [fix] Default value for redirect_type. Fixes #1 2016-11-23 21:49:09 +01:00
opi
253310b8f8 Initial commit. 2016-06-20 23:43:51 +02:00