====== UBNetDef Webserver Setup ======
How did I setup the ubnetdef.org webserver? Config dump too, pls.
===== Troubleshooting =====
**ISSUE**: Installing `nginx-full` shows: `nginx-full : Depends: libssl1.0.0 dotdeb`
**FIX**: `apt-get install openssl -t jessie-backports`
====== Config Dumps ======
/web/*/logs/*.log {
daily
missingok
rotate 14
compress
delaycompress
notifempty
create 0640 www-data adm
sharedscripts
prerotate
if [ -d /etc/logrotate.d/httpd-prerotate ]; then \
run-parts /etc/logrotate.d/httpd-prerotate; \
fi \
endscript
postrotate
invoke-rc.d nginx rotate >/dev/null 2>&1
endscript
}
@daily /usr/bin/certbot renew --post-hook "systemctl reload nginx" --quiet
# DotDeb General
deb http://packages.dotdeb.org jessie all
deb-src http://packages.dotdeb.org jessie all
# DotDeb HTTP2
deb http://packages.dotdeb.org jessie-nginx-http2 all
# Jesse Backports
deb http://ftp.debian.org/debian jessie-backports main