hi <@U06SJTK958A> <@U01NT95GV8B> qq: I'm trying to...
# support
h
hi @Vibhu Pandey @Srikanth Chekuri qq: I'm trying to put signoz behind a ngnix server which is installed in the same vm based on my understanding it should work ideally but when I'm trying it is throwing forbidden errors in signoz frontend
Copy code
server {
    listen 80;
    server_name signoz.dev.cloudbolt.app;
    return 301 https://$host$request_uri;
}

server {
    listen 443 ssl;
    server_name signoz.dev.cloudbolt.app;

    ssl_certificate /etc/letsencrypt/live/dev.cloudbolt.app/fullchain.pem;
    ssl_certificate_key /etc/letsencrypt/live/dev.cloudbolt.app/privkey.pem;

    location / {
        proxy_pass <http://localhost: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;
    }
}
image.png
it got resolved while posting the issue, I just reviewed the ngnix config the problem is I was using proxy_set_header as $host which value is getting resolved signoz.dev.cloudbolt.app so frontend is blocking non-local host when i changed the value $host to localhost:8080