This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).
This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).
Based on https://gist.github.com/GAS85/990b46a3a9c2a16c0ece4e48ebce7300
Per default it will be apache2 version 2.4.29 what is enought for http2 support.
Based on https://techwombat.com/enable-http2-apache-ubuntu-16-04/
This totorial is for an older Ubuntu 16.04, for a Ubuntu 18.04 please read here --> https://gist.github.com/GAS85/8dadbcb3c9a7ecbcb6705530c1252831
| ## How to install mcrypt in php7.2 | |
| ## | |
| ## https://lukasmestan.com/install-mcrypt-extension-in-php7-2/ | |
| ## | |
| # | |
| # Check version php and pecl | |
| # | |
| php -v # if default php is not 7.2 then use /usr/bin/php7.2 instead php |
| #!/bin/bash | |
| URL='domain.com' | |
| wget --quiet http://$URL/sitemap.xml --no-cache --output-document - | egrep -o "http://$URL[^<]+" | while read line; do | |
| time curl -A 'Cache Warmer' -s -L $line > /dev/null 2>&1 | |
| echo $line | |
| done |
| // http://bit.ly/qDefer | |
| $(function(){$('script[type="text/javascript/defer"]').each(function(){$(this).clone().attr('type','').insertAfter(this)})}); |
| /* | |
| * DOMParser HTML extension | |
| * 2012-09-04 | |
| * | |
| * By Eli Grey, http://eligrey.com | |
| * Public domain. | |
| * NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK. | |
| */ | |
| /*! @source https://gist.github.com/1129031 */ |