-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCaddyfile
54 lines (50 loc) · 1.33 KB
/
Caddyfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
https://git.vcholerae.com {
gzip
minify
log git.access.log {
rotate
}
errors {
log git.errors.log
404 /opt/gitlab/embedded/service/gitlab-rails/public/404.html
422 /opt/gitlab/embedded/service/gitlab-rails/public/422.html
500 /opt/gitlab/embedded/service/gitlab-rails/public/500.html
502 /opt/gitlab/embedded/service/gitlab-rails/public/502.html
}
header /shared/ Cache-Control "max-age=7200, public"
proxy / http://127.0.0.1:8181 {
fail_timeout 300s
proxy_header Host {host}
proxy_header X-Real-IP {remote}
proxy_header X-Forwarded-Proto {scheme}
proxy_header X-Forwarded-Ssl on
proxy_header Cache-Control "max-age=7200, public"
}
}
vibriocholera.com {
root /home/blast/public/www/www/
gzip
errors ./errors_ani.log
log ./log_ani.log
}
t6ss.vibriocholera.com {
errors ./errors_ani.log
log ./log_ani.log
proxy /websocket/ http://127.0.0.1:4545 {
websocket
}
proxy / http://127.0.0.1:4545 {
proxy_header Host {host}
proxy_header X-Real-IP {remote}
proxy_header X-Forwarded-Proto {scheme}
}
}
blast.vibriocholera.com {
gzip
errors ./errors_blast.log
log ./log_blast.log
proxy / 127.0.0.1:4567/ {
without /blast
proxy_header Host {host}
}
}