ssl - How do you enable HTTPS in Jetbrains Upsource 2.0 -
i'm evaluating upsource, jetbrain's source code review tool.
there nothing in docs or in 2.0 distribution (that can find) explaining how enable ssl/tls. how can done? can't serve source code except on https!
good day!
make described in instructions https://www.jetbrains.com/upsource/help/2.0/proxy_configuration.html
set upsource nginx proxy close firewall port 1111, leaving nginx watch out.
configure base url:
<upsource_home>\bin\upsource.bat configure --listen-port 1111 --base-url https://upsource.mydomain.com/ nginx configuration file:
server { listen 443 ssl; ssl_certificate <path_to_certificate> ssl_certificate_key <path_to_key> server_name localhost; location / { proxy_set_header x-forwarded-host $http_host; proxy_set_header x-forwarded-for $proxy_add_x_forwarded_for; proxy_set_header x-forwarded-proto $scheme; proxy_http_version 1.1; # proxy websockets in nginx proxy_set_header upgrade $http_upgrade; proxy_set_header connection "upgrade"; proxy_pass http://localhost:1111/; } }
Comments
Post a Comment