1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/wireguard_ynh.git synced 2024-09-03 20:35:58 +02:00

fix: change port for WireGuard UI

I changed the UI one because it's behind nginx reverse proxy
This commit is contained in:
tytan652 2020-12-29 17:42:37 +01:00 committed by tituspijean
parent bb41f2bce7
commit f222956185

View file

@ -61,8 +61,8 @@ ynh_script_progression --message="Configuring firewall..." --time --weight=1
port_wg=$(ynh_find_port --port=8095)
ynh_app_setting_set --app=$app --key=port_wg --value=$port_wg
# Find an available port
port=$(ynh_find_port --port=8095)
# Find an available port for WireGuard UI
port=$(ynh_find_port --port=8096)
ynh_app_setting_set --app=$app --key=port --value=$port
# Open the WireGuard port