guides:ubnetdef_webserver_setup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Last revision Both sides next revision
guides:ubnetdef_webserver_setup [2017/03/20 21:43]
sysop created
guides:ubnetdef_webserver_setup [2017/03/24 06:57]
jamesdro Config dumps
Line 2: Line 2:
  
 How did I setup the ubnetdef.org webserver? Config dump too, pls. How did I setup the ubnetdef.org webserver? Config dump too, pls.
 +
 +====== 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:15
  • by jamesdro