Remove sentry configuration

This commit is contained in:
sonny 2025-01-24 21:00:09 +01:00
parent 300529e26f
commit d8c4f71c62
4 changed files with 12 additions and 18 deletions

View file

@ -2,28 +2,22 @@
server {
listen {{ https_port }} ssl;
server_name {{ sentry_domain }};
server_name {{ glitchtip_domain }};
include snippets/certificates.conf;
include snippets/ssl-params.conf;
access_log /var/log/nginx/sentry.log;
error_log /var/log/nginx/sentry.log;
access_log /var/log/nginx/glitchtip.log;
error_log /var/log/nginx/glitchtip.log;
client_max_body_size 40M;
location / {
gzip off;
proxy_read_timeout 90;
proxy_connect_timeout 90;
proxy_redirect off;
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-Ssl on;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Frame-Options SAMEORIGIN;
proxy_pass http://{{ sentry_ip }}:{{ sentry_port }};
proxy_pass http://{{ glitchtip_ip }}:{{ glitchtip_port }};
}
}