Unable to access WebDAV when Confluence is Behind Apache or Nginx Proxy

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Symptoms

Creating a webdav connection to Confluence works, but the folders show up as http://localhost:8080 instead of the proxy address.

(Auto-migrated image: description temporarily unavailable)

Cause

See WBDV-195.

Resolution (Apache)

The webdav url will only work properly when using the following directive:

1 ProxyPreserveHost On

Resolution (Nginx)

The webdav url will only work properly when using the following directive:

1 proxy_set_header Host $host
Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.