Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,370,017
Community Members
 
Community Events
168
Community Groups

Configure Crucible behind NGinx Reverse Proxy + SSL

Edited

Hello.  I'm trying to configure Crucible to work behind my nginx reverse proxy with SSL.  I'm running Crucible and my Reverse Proxy inside Docker on a shared network.

 

My nginx config:

 

server {
listen 443 ssl http2;
server_name crucible.myserver.com;

ssl on;
ssl_certificate /var/lib/https-portal/crucible.myserver.com/production/chained.pem;
ssl_certificate_key /var/lib/https-portal/crucible.myserver.com/production/domain.key;

ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_session_cache shared:SSL:50m;
ssl_ciphers [...ciphers...]
ssl_prefer_server_ciphers on;

ssl_dhparam /var/lib/https-portal/dhparam.pem;

# Prevent Nginx from leaking the first TLS config #

if ($host != $server_name) {
return 444;
}


location / {

proxy_pass http://crucible_crucible_1:8080;

proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;


}

}

My Crucible Server config is as follows:

 

<web-server site-url="https://crucible.myserver.com">
<http bind=":8080" proxy-host="???" proxy-port="8080" proxy-scheme="http"/>
</web-server>

 

1) What web-server config do I need?

2) What nginx config am I missing?

 

Any help is appreciated.

 

Greg

 

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events