updating readme
This commit is contained in:
parent
f8ff773b28
commit
cdea57357f
|
|
@ -60,7 +60,7 @@ mongorestore --host localhost --port 27017 -d unboundedpress -u username -p pass
|
|||
# TODO: consider making mongodb a replica set
|
||||
|
||||
# SERVER MAINTANENCE
|
||||
# update dynamic dns script and make cron
|
||||
# update dynamic dns script and make cron (currently in /etc/cron.hourly/update_dns.sh
|
||||
#!/bin/bash
|
||||
|
||||
curl "https://api.1984.is/1.0/freedns/?apikey={{{KEY}}}&domain=unboundedpress.org&ip="
|
||||
|
|
@ -69,4 +69,4 @@ curl "https://api.1984.is/1.0/freedns/?apikey={{{KEY}}}&domain=restheart.unbound
|
|||
curl "https://api.1984.is/1.0/freedns/?apikey={{{KEY}}}&domain=gitea.unboundedpress.org&ip="
|
||||
curl "https://api.1984.is/1.0/freedns/?apikey={{{KEY}}}&domain=nextcloud.unboundedpress.org&ip="
|
||||
curl "https://api.1984.is/1.0/freedns/?apikey={{{KEY}}}&domain=dev.unboundedpress.org&ip="
|
||||
# TODO: backup cron
|
||||
# Backups are done using rsnapshot (currently in /etc/cron.weekly/backup.sh)
|
||||
|
|
|
|||
|
|
@ -1,7 +1,8 @@
|
|||
server {
|
||||
listen 80;
|
||||
listen 443 ssl;
|
||||
|
||||
server_name *.unboundedpress.org;
|
||||
|
||||
#Rewrite all nonssl requests to ssl.
|
||||
return 301 https://unboundedpress.org$request_uri;
|
||||
return 301 http://unboundedpress.org$request_uri;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue