Problem:
Confluence 6 behind Nginx:
- Confluence is working.
- The editor is not answering at all.
I am using the following nginx config:
server {
listen 80;
listen [::]:80;
server_name confluence.yourhost.com;
location /confluence {
set $backend "http://confluence:8090";
proxy_pass $backend;
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;
}
location /synchrony {
set $backend "http://confluence:8091/synchrony";
proxy_pass $backend;
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_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
}
}Nearly the same as in the Atlassian documentation:
https://confluence.atlassian.com/confkb/how-to-use-nginx-to-proxy-requests-for-confluence-313459790.html
Is this really working or do I have (and how) to reconfigure synchrony?