put .htaccess file needeed for API to work
This commit is contained in:
@@ -55,6 +55,14 @@ define('SECURE_AUTH_SALT', 'Ku5k]% pS[eN,))rR4%JF7c5l;w(NVFvLir-:|-N07`[yp/U*J2x
|
||||
define('LOGGED_IN_SALT', 'AS,kWNt-W~}c(# tsmi$hEx{XD|`<vXO{hT$|0KPLt$z!`6x>J28>nf~*8jsfFkc');
|
||||
define('NONCE_SALT', '5}W)&1O:bSk@p=Uj1QJIuT<91:LHv+`Ix=;y37LaPwNWa&EW$;E~jU45+.-;%]2}');
|
||||
|
||||
|
||||
//For case when wordpress is behind reverse proxy https -> http
|
||||
//With this settings, siteurl and home have to be https://....
|
||||
if ( (!empty( $_SERVER['HTTP_X_FORWARDED_HOST'])) ||
|
||||
(!empty( $_SERVER['HTTP_X_FORWARDED_FOR'])) ) {
|
||||
$_SERVER['HTTPS'] = 'on';
|
||||
}
|
||||
|
||||
/**#@-*/
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user