mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Increase script timeout
This commit is contained in:
parent
954256c241
commit
d5b2c79d6b
2 changed files with 6 additions and 6 deletions
6
openmptcprouter/files/etc/uci-defaults/2050-omr-uhttpd
Executable file
6
openmptcprouter/files/etc/uci-defaults/2050-omr-uhttpd
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/sh
|
||||||
|
uci -q batch <<-EOF >/dev/null
|
||||||
|
set uhttpd.main.redirect_https=0
|
||||||
|
set uhttpd.main.script_timeout=120
|
||||||
|
set uhttpd.main.network_timeout=120
|
||||||
|
EOF
|
|
@ -1,6 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
# vim: set noexpandtab tabstop=4 shiftwidth=4 softtabstop=4 :
|
|
||||||
|
|
||||||
# Do not redirect http to https, allow both
|
|
||||||
|
|
||||||
uci -q set "uhttpd.main.redirect_https='0'"
|
|
Loading…
Add table
Add a link
Reference in a new issue