ServerAdmin webmaster@localhost DocumentRoot /var/www/html/public AllowOverride All Require all granted Options -Indexes +FollowSymLinks RemoteIPHeader X-Forwarded-For RemoteIPTrustedProxy 10.0.0.0/8 RemoteIPTrustedProxy 172.16.0.0/12 RemoteIPTrustedProxy 192.168.0.0/16 SetEnvIf X-Forwarded-Proto "https" HTTPS=on ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined