Skip to content

Instantly share code, notes, and snippets.

@rraallvv
Last active January 30, 2020 21:29
Show Gist options
  • Save rraallvv/a15c88610cee438953f081a8c0378481 to your computer and use it in GitHub Desktop.
Save rraallvv/a15c88610cee438953f081a8c0378481 to your computer and use it in GitHub Desktop.
Enable SSL for WordPress with Nginx

In order to use Wordpress in SSL with NGINX add

$_SERVER['HTTPS']='on';

to wp-config.php just before

require_once(ABSPATH . 'wp-settings.php');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment