Fixed travis ci.

This commit is contained in:
Shuai Lin 2016-11-17 12:41:32 +08:00
parent 542a57ced4
commit 2c5adae1b7
4 changed files with 11 additions and 3 deletions

View file

@ -0,0 +1,7 @@
# If you edit this file, remember to run ./launcher rebuild
[server]
server.hostname = seafile.example.com
server.https = true
admin.email = me@example.com
admin.password = asecret
server.port_mappings = 80:80,443:443

View file

@ -1,7 +1,6 @@
# If you edit this file, remember to run ./launcher rebuild # If you edit this file, remember to run ./launcher rebuild
[server] [server]
server.hostname = seafile.example.com server.hostname = seafile.example.com
server.https = true
admin.email = me@example.com admin.email = me@example.com
admin.password = asecret admin.password = asecret
server.port_mappings = 80:80,443:443 server.port_mappings = 8080:80

View file

@ -42,3 +42,5 @@ curl -sSL -o intermediate.pem https://letsencrypt.org/certs/lets-encrypt-x3-cros
cat signed.crt intermediate.pem > ${ssl_crt} cat signed.crt intermediate.pem > ${ssl_crt}
nginx -s reload nginx -s reload
echo "Nginx reloaded."

View file

@ -1,3 +1,3 @@
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
# m h dom mon dow command # min hour dayofmonth month dayofweek command
0 0 1 * * root /scripts/ssl.sh {{ ssl_dir }} {{ domain }} 0 0 1 * * root /scripts/ssl.sh {{ ssl_dir }} {{ domain }}