smtp server outlook 365

Susiloharjo

Email Provider IMAP Settings POP Settings SMTP Settings Microsoft 365 Outlook Hotmail Live.com Server: outlook.office365.com Port: 993 Encryption: SSL/TLS Server: outlook.office365.com Port: 995 Encryption: SSL/TLS Server: smtp.office365.com Port: 587 Encryption: STARTTLS MSN Server: imap-mail.outlook.com Port: 993 Encryption: SSL/TLS Server: pop-mail.outlook.com Port: 995 Encryption: SSL/TLS Server: smtp-mail.outlook.com Port: 587 Encryption: STARTTLS

Howto setting wordpress working under proxy nginx

Susiloharjo

This is my note howto setting WordPress

First add this at wp-config.php

define('FORCE_SSL_ADMIN', true);

if (strpos($_SERVER['HTTP_X_FORWARDED_PROTO'], 'https') !== false){
    $_SERVER['HTTPS'] = 'on';
    $_SERVER['SERVER_PORT'] = 443;
}
if (isset($_SERVER['HTTP_X_FORWARDED_HOST'])) {
    $_SERVER['HTTP_HOST'] = $_SERVER['HTTP_X_FORWARDED_HOST'];
}

define('WP_HOME', 'https://domain name');
define('WP_SITEURL', 'https://domain name');



Read more