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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.