Fork de https://framagit.org/oxyta.net/oxytanet pour ajouter les choses propres à tetaneutral.net
|
7 years ago | |
---|---|---|
etherpad | 7 years ago | |
frontal | 7 years ago | |
nextcloud | 7 years ago | |
README.md | 7 years ago |
include /etc/nginx/sites-enabled/*
to /etc/nginx/nginx.conf in http sectionmkdir /etc/nginx/sites-enabled/ /srv/letsencrypt
cd etherpad
export MYSQL_ROOT_PASSWORD=$(openssl rand -base64 32)
ln -s $PWD/nginx.conf /etc/nginx/sites-enabled/etherpad
systemctl restart nginx
certbot certonly --email <me souviens plus> --webroot -w /srv/letsencrypt/ --agree-tos -d www.pad.oxyta.net -d pad.oxyta.net
docker-compose up -d
cd nextcloud
export MYSQL_ROOT_PASSWORD=$(openssl rand -base64 32)
export MYSQL_PASSWORD=$(openssl rand -base64 32)
ln -s $PWD/nginx.conf /etc/nginx/sites-enabled/nextcloud
systemctl restart nginx
certbot certonly --email <me souviens plus> --webroot -w /srv/letsencrypt/ --agree-tos -d www.cloud.oxyta.net -d cloud.oxyta.net
docker-compose up -d