mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
owsd: add new localhost section
Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
This commit is contained in:
parent
31f43a3194
commit
7fcbcd3930
1 changed files with 5 additions and 4 deletions
|
|
@ -10,8 +10,6 @@ config owsd-listen 'lan'
|
|||
# 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'
|
||||
|
|
@ -19,8 +17,6 @@ config owsd-listen 'lan_8080'
|
|||
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'
|
||||
|
|
@ -43,3 +39,8 @@ config owsd-listen 'wan_8080'
|
|||
option whitelist_interface_as_origin '1'
|
||||
list origin '*'
|
||||
|
||||
config owsd-listen 'loopback'
|
||||
option port '80'
|
||||
option interface 'loopback'
|
||||
option ipv6 'on'
|
||||
list origin '*'
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue