mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
45 lines
1 KiB
Text
45 lines
1 KiB
Text
config owsd 'global'
|
|
option sock '/var/run/ubus.sock'
|
|
option www '/www'
|
|
option redirect '/cgi-bin/luci:/cacheflush.html'
|
|
|
|
config owsd-listen 'lan'
|
|
option port '80'
|
|
option interface 'lan'
|
|
option ipv6 'on'
|
|
# option ipv6only 'off'
|
|
option whitelist_interface_as_origin '1'
|
|
option whitelist_dhcp_domains '1'
|
|
list origin 'http://localhost'
|
|
list origin 'http://127.0.0.1'
|
|
|
|
config owsd-listen 'lan_8080'
|
|
option port '8080'
|
|
option interface 'lan'
|
|
option ipv6 'on'
|
|
option whitelist_interface_as_origin '1'
|
|
option whitelist_dhcp_domains '1'
|
|
list origin 'http://localhost'
|
|
list origin 'http://127.0.0.1'
|
|
|
|
#config owsd-listen 'lan_https'
|
|
# option port '443'
|
|
# option interface 'lan'
|
|
# option whitelist_interface_as_origin '1'
|
|
# option cert ''
|
|
# option key ''
|
|
|
|
config owsd-listen 'wan'
|
|
option port '80'
|
|
option interface 'wan'
|
|
option ipv6 'on'
|
|
option whitelist_interface_as_origin '1'
|
|
list origin '*'
|
|
|
|
config owsd-listen 'wan_8080'
|
|
option port '8080'
|
|
option interface 'wan'
|
|
option ipv6 'on'
|
|
option whitelist_interface_as_origin '1'
|
|
list origin '*'
|
|
|