good afternoon, do I need to put my ssl certificat...
# support
m
good afternoon, do I need to put my ssl certificates on my signoz server? I can't find in which route I should leave them or where to configure them can you help me?
p
Hello @Martin Pacheco, are you trying to secure SigNoz UI or signoz-otel-collector? Both can be done using Reverse Proxy and certs (directly or using certbot/certmanager).
m
Hi @Prashant Shahi, I trying to secure SigNoz UI
p
@Martin Pacheco Are you using Docker or K8s?
m
i install signoz using docker
p
@Martin Pacheco you can go with Nginx and Certbot to easily set secure it in your VM.
m
ok i'll try to do it
thanks!!
p
@Martin Pacheco you nginx config for the site should look like this:
Copy code
server {
    listen       80;
    server_name  <http://signoz.yourdomain.com|signoz.yourdomain.com>;

    return 301 https://$host$request_uri;
}

upstream signoz_ui {
    server localhost:3301;
}

server {
    listen       443 ssl;
    server_name  <http://signoz.yourdomain.com|signoz.yourdomain.com>;

    ssl_certificate /etc/letsencrypt/live/signoz.yourdomain.com/fullchain.pem;
    ssl_certificate_key /etc/letsencrypt/live/signoz.yourdomain.com/privkey.pem;

    location / {
        proxy_pass <http://signoz_ui>;
    }
}