Skip to content

Instantly share code, notes, and snippets.

@jasonmccallister
Created April 14, 2019 17:48
Show Gist options
  • Save jasonmccallister/720b99c47dc628c3ca543c64d5c924c0 to your computer and use it in GitHub Desktop.
Save jasonmccallister/720b99c47dc628c3ca543c64d5c924c0 to your computer and use it in GitHub Desktop.
<VirtualHost *:80>
<IfModule mod_setenvif.c>
SetEnvIf X-Forwarded-Proto "^https$" HTTPS
</IfModule>
ServerAdmin support@yourcompany.com
DocumentRoot /var/www/html/web
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment