• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Issue Plesk Premium Email Autodiscover.xml 502 Bad Gateway 18.0.71 Update 2

Compy

Basic Pleskian
Server operating system version
Ubuntu 22.04.5 LTS
Plesk version and microupdate number
Plesk Obsidian v18.0.71_build1800250729.09 os_Ubuntu 22.04
So after update to Plesk Obsidian 18.0.71 Update 2 Outlook is not connecting

proxy_error_log
2025/08/01 20:31:15 [error] 107159#0: *15 connect() failed (111: Connection refused) while connecting to upstream, client: **client ip**, server: **domain.xx**, request: "GET /Autodiscover/Autodiscover.xml HTTP/2.0", upstream: "https://**external IP**:7081/Autodiscover ... scover.xml", host: "**domain.xx**"

/etc/nginx/conf.d/fixssl.conf has been changed by the update?
# Plesk fix for CVE-2025-23048 mitigation in Apache breaking proxying
proxy_ssl_server_name on;
proxy_ssl_name $host;
proxy_ssl_session_reuse off;

reverting back to
proxy_ssl_server_name on;
proxy_ssl_session_reuse off;

map $host $webmail_host {
~^webmail\..+ $host;
default webmail.$host;
}
map $request_uri $proxied_host {
~*^/autodiscover/autodiscover.xml $webmail_host;
~*^/(\.well-known/autoconfig/|)mail/config-v1.1.xml $webmail_host;
~*^/Microsoft-Server-ActiveSync $webmail_host;
~*^/iRony $webmail_host;
default $host;
}
proxy_ssl_name $proxied_host;

did not work.

web mail is working and the server can receive emails.
 
curl https://www.**domain.xx**/mail/config-v1.1.xml?emailaddress=**user**@**domain.xx**

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>502 Bad Gateway</title>
<link rel="stylesheet" href="/error_docs/styles.css">
</head>
<body>
<div class="page">
<div class="main">
<h1>Server Error</h1>
<div class="error-code">502</div>
<h2>Bad Gateway</h2>
<p class="lead">Web server received an invalid response while acting as a gateway or proxy server.</p>
<hr/>
<p>That's what you can do</p>
<div class="help-actions">
<a href="javascript:location.reload();">Reload Page</a>
<a href="javascript:history.back();">Back to Previous Page</a>
<a href="/">Home Page</a>
</div>
</div>
</div>
</body>
</html>
 
Back
Top