mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-03 07:53:56 +08:00
🛸 Sync 2026-09-10 16:56:29
This commit is contained in:
1 parent
6c9da50ab4
commit
b9758ed85d
14 files changed
+180
-151
No files matched your search
@@ -8,11 +8,7 @@ if [ "$nginxer" != 1 ]; then
|
||||
uci set nginx._redirect2ssl.access_log='off; # logd openwrt'
|
||||
uci set nginx.global.nginxer='1'
|
||||
uci commit nginx
|
||||
|
||||
# fix firmware upload failed
|
||||
sed -i 's/client_max_body_size 128M;/client_max_body_size 256M;/g' /etc/nginx/uci.conf.template
|
||||
|
||||
# /etc/init.d/uhttpd running || /etc/init.d/uhttpd disable
|
||||
/etc/init.d/nginx reload
|
||||
fi
|
||||
exit 0
|
||||
exit 0
|
||||
Reference in new issue
Block a user