mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
Update DNS resolvers in postinstall.sh script
This commit is contained in:
parent
b450a7a0a2
commit
e4ebb330b4
1 changed files with 2 additions and 2 deletions
|
|
@ -66,10 +66,10 @@ fi
|
|||
|
||||
# Create wizard config
|
||||
if [ "$UI_WIZARD" != "" ] ; then
|
||||
echo -ne 'DNS_RESOLVERS=8.8.8.8 8.8.4.4\nHTTP_PORT=80\nHTTPS_PORT=443\nAPI_LISTEN_IP=127.0.0.1\nMULTISITE=yes\nUI_HOST=http://127.0.0.1:7000\nSERVER_NAME=\n' > /etc/bunkerweb/variables.env
|
||||
echo -ne 'DNS_RESOLVERS=9.9.9.9 8.8.8.8 8.8.4.4\nHTTP_PORT=80\nHTTPS_PORT=443\nAPI_LISTEN_IP=127.0.0.1\nMULTISITE=yes\nUI_HOST=http://127.0.0.1:7000\nSERVER_NAME=\n' > /etc/bunkerweb/variables.env
|
||||
do_and_check_cmd chown nginx:nginx /etc/bunkerweb/variables.env
|
||||
do_and_check_cmd chmod 660 /etc/bunkerweb/variables.env
|
||||
echo "" > /etc/bunkerweb/ui.env
|
||||
touch /etc/bunkerweb/ui.env
|
||||
do_and_check_cmd chown nginx:nginx /etc/bunkerweb/ui.env
|
||||
do_and_check_cmd chmod 660 /etc/bunkerweb/ui.env
|
||||
do_and_check_cmd systemctl enable bunkerweb-ui
|
||||
|
|
|
|||
Loading…
Reference in a new issue