Removed password again
This commit is contained in:
parent
e10f750ce3
commit
04c3af14e2
|
@ -1,9 +1,8 @@
|
||||||
<configuration version="19">
|
<configuration version="19">
|
||||||
<gui enabled="true" tls="false" debugging="false">
|
<gui enabled="true" tls="false" debugging="false">
|
||||||
|
<insecureAdminAccess>true</insecureAdminAccess>
|
||||||
<address>0.0.0.0:3000</address>
|
<address>0.0.0.0:3000</address>
|
||||||
<theme>default</theme>
|
<theme>default</theme>
|
||||||
<user>admin</user>
|
|
||||||
<password>$2a$10$onEZNvFhasmJMq7ugGDIJekK0mZ9YByNK0b1p8kJPtXL.ELVrsolm</password>
|
|
||||||
</gui>
|
</gui>
|
||||||
<options>
|
<options>
|
||||||
<listenAddress>tcp://:22000</listenAddress>
|
<listenAddress>tcp://:22000</listenAddress>
|
||||||
|
|
|
@ -33,7 +33,6 @@ http {
|
||||||
error_log /dev/stderr warn;
|
error_log /dev/stderr warn;
|
||||||
listen 8000 default_server;
|
listen 8000 default_server;
|
||||||
server_name _;
|
server_name _;
|
||||||
proxy_set_header Authorization "Basic YWRtaW46YWRtaW4=";
|
|
||||||
proxy_read_timeout 120s;
|
proxy_read_timeout 120s;
|
||||||
location /check {
|
location /check {
|
||||||
proxy_pass http://localhost:3000/syncthing/app.js;
|
proxy_pass http://localhost:3000/syncthing/app.js;
|
||||||
|
|
2
start.sh
2
start.sh
|
@ -20,8 +20,6 @@ ldap_server cloudron {
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
sed -e 's,<listenAddress>.*</listenAddress>,<listenAddress>tcp://:22000</listenAddress>,' -i /app/data/config/config.xml
|
sed -e 's,<listenAddress>.*</listenAddress>,<listenAddress>tcp://:22000</listenAddress>,' -i /app/data/config/config.xml
|
||||||
sed -e 's,<user>.*</user>,<user>admin</user>,' -i /app/data/config/config.xml
|
|
||||||
sed -e 's,<password>.*</password>,<password>$2a$10$onEZNvFhasmJMq7ugGDIJekK0mZ9YByNK0b1p8kJPtXL.ELVrsolm</password>,' -i /app/data/config/config.xml
|
|
||||||
sed -e 's,<gui .*>,<gui enabled="true" tls="false" debugging="false">,' -i /app/data/config/config.xml
|
sed -e 's,<gui .*>,<gui enabled="true" tls="false" debugging="false">,' -i /app/data/config/config.xml
|
||||||
|
|
||||||
export STNODEFAULTFOLDER=1 STNOUPGRADE=1
|
export STNODEFAULTFOLDER=1 STNOUPGRADE=1
|
||||||
|
|
Loading…
Reference in New Issue