reverseproxy_ynh/scripts/install

29 lines
618 B
Text
Raw Normal View History

2016-06-20 23:43:51 +02:00
#!/bin/bash
2023-01-08 14:33:31 +01:00
source _common.sh
2018-05-26 10:27:01 +02:00
source /usr/share/yunohost/helpers
2023-01-08 14:33:31 +01:00
#=================================================
# REVERSEPROXY_YNH
2023-01-08 14:33:31 +01:00
#=================================================
2016-06-20 23:43:51 +02:00
2023-01-08 14:33:31 +01:00
# Validate reverse proxy destination
rp_validate_proxy_path
# Validate assets_path
rp_validate_assets_path
2023-11-25 19:16:11 +01:00
# Special case for "/" path
rp_handle_webroot
2023-01-08 14:33:31 +01:00
# Configure nginx
ynh_script_progression "Configuring NGINX web server..."
ynh_config_add_nginx
2021-01-23 15:21:17 +01:00
#=================================================
# END OF SCRIPT
#=================================================
ynh_script_progression "Installation of $app completed"