Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Confluence behind nginx reverse proxy with HTTPS Edited


I'm trying to provide confluence behind a reverse proxy with https. I confugured within the file server.xml the following content within the connector parameter:

proxyName="" proxyPort="443" scheme="https"


I'm using the following nginx configuration:

server {
    listen 443 ssl http2;
    listen [::]:443 ssl http2;

    ssl_certificate         /etc/letsencrypt/live/;
    ssl_certificate_key     /etc/letsencrypt/live/;
    ssl_trusted_certificate /etc/letsencrypt/live/;

    location /synchrony {
        proxy_set_header X-Forwarded-Host $host;
        proxy_set_header X-Forwarded-Server $host;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_pass http://localhost:8091/synchrony;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "Upgrade";

    location / {
        client_max_body_size 128m;
        proxy_set_header X-Forwarded-Host $host;
        proxy_set_header X-Forwarded-Server $host;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_pass http://localhost:8090;


If I want to edit a page, the page requests to which does not exist.


This results into endless loading of the page.


I added synchrony.proxy.enabled to confluence.cfg.xml but nothing changed.

<property name="synchrony.proxy.enabled">true</property>

Server Base URL is set to

I'm using Confluence 6.2.2 on Ubuntu 16.04 with Java 1.8.0_131 and MySQL backend.

What can I do to resolve the problem?

1 answer

The heartbeat URL has nothing to do with this issue. That's misleading you.

Post the full browser content of errors and include the errors in your proxy log and the catalina.out log.

Browser output (Dev console):

As Image:

nginx does not throw any error within error.log. Within access.log, the following requests haven't 200 status code:

1XX.1XX.1XX.180 - - [16/Jun/2017:11:41:21 +0200] "GET /heartbeat?_=1497606081605 HTTP/2.0" 404 8381 "" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36"

catalina.out contains the following content:

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Confluence

What do you think is the most *delightful* Confluence feature? Comment for a prize!

- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...

383 views 23 8
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you