Remove sentry configuration
This commit is contained in:
parent
300529e26f
commit
d8c4f71c62
4 changed files with 12 additions and 18 deletions
23
templates/nginx/glitchtip.j2
Normal file
23
templates/nginx/glitchtip.j2
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
# {{ ansible_managed }}
|
||||
|
||||
server {
|
||||
listen {{ https_port }} ssl;
|
||||
server_name {{ glitchtip_domain }};
|
||||
|
||||
include snippets/certificates.conf;
|
||||
include snippets/ssl-params.conf;
|
||||
|
||||
access_log /var/log/nginx/glitchtip.log;
|
||||
error_log /var/log/nginx/glitchtip.log;
|
||||
|
||||
client_max_body_size 40M;
|
||||
|
||||
location / {
|
||||
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_pass http://{{ glitchtip_ip }}:{{ glitchtip_port }};
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue