1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/glitchsoc_ynh.git synced 2024-09-03 19:15:59 +02:00

Merge pull request #114 from YunoHost-Apps/patch-z

Patch to fix nginx conf
This commit is contained in:
nemsia 2018-09-03 01:03:00 +02:00 committed by GitHub
commit f262708905
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -274,6 +274,8 @@ ynh_app_setting_set "$app" unprotected_uris "/"
# RELOAD NGINX # RELOAD NGINX
#================================================= #=================================================
ynh_replace_string "__PORT_WEB__" "$port_web" "../conf/nginx.conf"
ynh_replace_string "__PORT_STREAM__" "$port_stream" "../conf/nginx.conf"
# Reload Nginx # Reload Nginx
systemctl reload nginx systemctl reload nginx