This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== 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 ====== <file conf /etc/logrotate.d/websites> /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 } </file> <file conf /etc/crontab> @daily /usr/bin/certbot renew --post-hook "systemctl reload nginx" --quiet </file> <file conf /etc/apt/sources.list.d/dotdeb.list> # 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 </file> <file conf /etc/apt/sources.list.d/backports.list> # Jesse Backports deb http://ftp.debian.org/debian jessie-backports main </file> guides/ubnetdef_webserver_setup.txt Last modified: 2017/03/24 07:15by jamesdro