Skip to content

Commit

Permalink
Update fragment-1.php
Browse files Browse the repository at this point in the history
  • Loading branch information
basilhendroff committed Nov 28, 2020
1 parent 0de45c9 commit 4f05e7f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions includes/fragment-1.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@

// Reverse proxy and WP-CLI support
if ( isset( $_SERVER['HTTP_X_FORWARDED_PROTO'] ) && 'https' === $_SERVER['HTTP_X_FORWARDED_PROTO'] ) {
$_SERVER['HTTPS']='on';
}
Expand Down

0 comments on commit 4f05e7f

Please sign in to comment.