if i want to run signoz over https, is there any g...
# general
n
if i want to run signoz over https, is there any guidance on how to do this, we have signoz running on an ec2 instance and want to put behind a load balancer?
h
are you doing ssl termination on the LB ?
n
yes, but we would like to have https all the way to the ec2 instance
h
then you'd have to run something like nginx (or similar) to handle the ssl termination on the ec2 instance and proxy all requests to port 3301. Chatgpt suggests config like:
Copy code
server {
    listen 443 ssl;
    server_name <http://yourdomain.com|yourdomain.com>;

    ssl_certificate /etc/nginx/ssl/yourdomain.com.crt;
    ssl_certificate_key /etc/nginx/ssl/yourdomain.com.key;

    location / {
        proxy_pass <http://localhost:3301>;
        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;
    }
}
n
OK thanks @Hannes Benson, will look in to that