put .htaccess file needeed for API to work

This commit is contained in:
GotPPay
2018-07-15 16:57:00 +02:00
parent 397fd69cfe
commit d09867a3a7
3 changed files with 9 additions and 228 deletions

View File

@@ -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';
}
/**#@-*/
/**