Skip to content

Instantly share code, notes, and snippets.

@acki
Created June 13, 2017 13:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save acki/e228208c05d496d4635b6b9b455df760 to your computer and use it in GitHub Desktop.
Save acki/e228208c05d496d4635b6b9b455df760 to your computer and use it in GitHub Desktop.
wp-config.php SSL Addon
/** SSL Stuff **/
define( 'FORCE_SSL_ADMIN', false );
if ($_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https')
$_SERVER['HTTPS']='on';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment