owsd: disable ubus-x by default

This commit is contained in:
Sukru Senli 2020-04-23 11:11:15 +02:00
parent df93ed2d3c
commit ea87bfe337

View file

@ -4,10 +4,9 @@ config owsd 'global'
# option redirect '/cgi-bin/luci:/cacheflush.html'
# option www_maxage '3600'
# ubusproxy is enbaled if: enable = 1 or peer exists or path exists
#config ubusproxy 'ubusproxy'
# option enable '0'
config ubusproxy 'ubusproxy'
option enable '0'
# list peer 'wss://repeater_hostname/'
# list peer 'wss://192.168.1.101/'
# list object 'router.*'
@ -17,7 +16,6 @@ config owsd 'global'
# option peer_key '/etc/ssl/private/owsd-repeater-control-key.pem'
# option peer_ca '/etc/ssl/certs/owsd-server-ca.pem'
config owsd-listen 'loopback'
option port '80'
option interface 'loopback'
@ -34,7 +32,6 @@ config owsd-listen 'lan'
option whitelist_interface_as_origin '1'
option whitelist_dhcp_domains '1'
#config owsd-listen 'lan_https'
# option port '443'
# option interface 'lan'
@ -43,7 +40,6 @@ config owsd-listen 'lan'
# option ca '/etc/ssl/certs/owsd-ca-for-clients.pem'
# option whitelist_interface_as_origin '1'
config owsd-listen 'wan'
option port '80'
option interface 'wan'