Replies: 0
I uppdated my server from apache to Docker,nginx, reverse proxy and added SLL thru Let’s encrypt.
But now I can’t access /wp-admin. I can login on /wp-login.php.
I have:
* updated db from HTTP -> HTTPS
* I removed .htaccess
* renamed plugin folder
* added this in wp-config:
if (isset($_SERVER[‘HTTP_X_FORWARDED_PROTO’]) && strtolower($_SERVER[‘HTTP_X_FORWARDED_PROTO’]) === ‘https’) {
$_SERVER[‘HTTPS’] = ‘on’;
}
* I added settings according to this forum, in the function.php of the theme:
update_option( ‘siteurl’, ‘https://jaime.digitalconcept.se’ );
update_option( ‘home’, ‘https://jaime.digitalconcept.se’ );
* I get no PHP errors
* no access errors from nginx
It’s WP ver 5.6.
Im soon losing my mind over this, any help is very appreciated