Adding HTTP debug response headers to distinguish requests
This commit is contained in:
parent
5d8ab83262
commit
6ec58ac1d8
1 changed files with 2 additions and 0 deletions
|
|
@ -104,11 +104,13 @@ server {
|
|||
proxy_set_header X-Forwarded-Port {{ $.PROXY_X_FORWARDED_PORT }};
|
||||
proxy_set_header X-Forwarded-Proto {{ $.PROXY_X_FORWARDED_PROTO }};
|
||||
proxy_set_header X-Request-Start $msec;
|
||||
add_header X-Coffee rails-backend;
|
||||
}
|
||||
|
||||
# debshots - added - deliver static images directly without asking Rails
|
||||
location /public/screenshot {
|
||||
alias /srv/www/{{ $.APP }}/screenshot;
|
||||
add_header X-Coffee nginx-static;
|
||||
}
|
||||
|
||||
{{ if $.CLIENT_MAX_BODY_SIZE }}client_max_body_size {{ $.CLIENT_MAX_BODY_SIZE }};{{ end }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue