space with my domain name
Good afternoon, please tell me how to bind Space to my domain, and how to make it open via https://example. looking at the guide in the documentation, I managed to do something like http://example:8084 and the space opened, but no matter what I do, I can't just use my domain
Please sign in to leave a comment.
Prerequisites:
Space On-Premises (docker-compose) is installed on the host machine.
The domain names for the Space services already exist and are being resolved to the IP address of the host machine. E.g. space.example.com, git.example.com, packages.example.com.
Corresponding TLS certificates are acquired. Let's Encrypt would be the easiest way to acquire the certificate (https://letsencrypt.org/getting-started/).
NGINX is installed on the host machine. Refer to the official guide for the installation details (https://docs.nginx.com/nginx/admin-guide/installing-nginx/installing-nginx-open-source/).
Installation:
Create a custom NGINX configuration file in /etc/nginx/conf.d directory (e.g. space.conf). Below is a minimal example:
In the
space.conf
file changeserver_name
from space.example.com, git.example.com, and packages.example.com to the real Space domain names.In the
space.conf
file changessl_certificate
andssl_certificate_key
paths to the real ones.Save changes and apply the new config with the
nginx -s reload
command.(in case not done yet) Generate Space configuration files (https://www.jetbrains.com/help/space/docker-compose-installation.html#customize-space-service-configuration)
Replace all external URLs with the HTTPS ones as it's described in the guide (https://www.jetbrains.com/help/space/docker-compose-installation.html#change-base-space-urls).
Apply changes and restart Space installation.