Letsencrypt with Apache Reverse Proxy

Sample vhost configuration: <VirtualHost *:80> ServerName dos.archive.computer ServerAdmin webmaster@localhost ProxyPreserveHost On DocumentRoot /var/www/html/dos.archive.computer ProxyPass /.well-known ! ProxyPass / http://10.0.3.10/ ProxyPassReverse / http://10.0.3.10/ ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined #The below lines are just for auto-redirecting to https RewriteEngine on RewriteCond %{SERVER_NAME} =dos.archive.computer RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent] </VirtualHost> Create .well-known folder wget…

LXC Container Notes

When you use “lxc-destroy” to get rid of a container, it doesn’t clean-up the DHCP lease from DNSMASQ.  To do that you need to remove the reservation from the cache which is in /var/lib/misc/dnsmasq.lxcbr0.leases – once you do that, you need to bounce the DNSMASQ service with ” /etc/init.d/dnsmasq restart…