if [ ! -d mediagoblin-libreplanet ]; then
sudo -u mediagoblin git clone https://vcs.fsf.org/git/mediagoblin-libreplanet.git
- cp -r mediagoblin-libreplanet/mediagoblin-libreplanet mediagoblin/mediagoblin/plugins/libreplanet
+ cp -r mediagoblin-libreplanet/mediagoblin_libreplanet mediagoblin/mediagoblin/plugins/libreplanet
fi
cd mediagoblin
server {
listen 80;
- server_name media.libreplanet.org;
+ server_name GMG_FQDN_TOKEN;
include /etc/nginx/mediagoblin-common.conf;
ssl_session_cache shared:SSL:10m;
ssl_session_timeout 10m;
- ssl_certificate /etc/ssl/certs/wildcard.libreplanet.org-full-chain.crt;
- ssl_certificate_key /etc/ssl/private/wildcard.libreplanet.org.key;
+ ssl_certificate /etc/letsencrypt/live/GMG_FQDN_TOKEN/fullchain.pem;
+ ssl_certificate_key /etc/letsencrypt/live/GMG_FQDN_TOKEN/privkey.pem;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_prefer_server_ciphers on;