Reverse Proxy Apache2

In continuation of the previous reverse proxy solution, here its using apache2 in /etc/apache2/sites-available/ (for example).

<VirtualHost *:80>
        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined

        ProxyRequests Off
        <Proxy *>
          Order deny,allow
          Allow from all
        ProxyPass /
        ProxyPassReverse /

        <Location />
          Order allow,deny
          Allow from all


Remember to enable reverse proxy module into apache2 and restart it.

sudo a2enmod proxy
sudo a2enmod proxy_http
sudo systemctl restart apache2.service 


Updating $PATH for Laravel in Ubuntu 20.04

In order to get #laravel command to work make sure its included in the $PATH $ composer global require laravel/installer…

MySQL: Automate MySQL Dump

Need to backup all the databases daily mysqldump --all-databases --single-transaction --quick --lock-tables=false > full-backup-$(date +%F).sql -u root -p Then edit…

Satellite Server: katello-service

Time for some upgrades and backups of the satellite server, first inspect the current services running and enabled [root@rhel75lab ~]#…

Working with date command

Quick reminder on how to use date command: %a – Displays the locale’s abbreviated weekday name. %A – Displays the…