This commit is contained in:
parent
47b97c97cc
commit
5f67fb4877
@ -175,7 +175,7 @@ frontend fe_http from {{ haproxy.config.namespace }}
|
||||
## Returns
|
||||
http-request return status 200 content-type text/plain string "User-agent: *\r\nAllow: /" if robots_txt
|
||||
http-request return status 200 content-type text/plain string "Contact: mailto:{{ haproxy.config.syscontact }}" if security_txt
|
||||
http-request return status 200 content-type "text/html; charset=utf-8" lf-string "<html><body>host: %H<br/>date: %[var(txn.httpdate)]<br/>srchash: %[var(txn.srchash)]</body></html>" if self_host path_info
|
||||
http-request return status 200 content-type "text/html; charset=utf-8" lf-string "<html><body>host: %H<br/>date: %[var(txn.httpdate)]<br/>src: %[var(req.src)]<br/>srchash: %[var(txn.srchash)]</body></html>" if self_host path_info
|
||||
|
||||
{%- if haproxy.config.geoip.enabled %}
|
||||
## GeoIP
|
||||
@ -244,7 +244,7 @@ frontend fe_https from {{ haproxy.config.namespace }}
|
||||
## Returns
|
||||
http-request return status 200 content-type text/plain string "User-agent: *\r\nAllow: /" if robots_txt
|
||||
http-request return status 200 content-type text/plain string "Contact: mailto:{{ haproxy.config.syscontact }}" if security_txt
|
||||
http-request return status 200 content-type "text/html; charset=utf-8" lf-string "<html><body>host: %H<br/>date: %[var(txn.httpdate)]<br/>srchash: %[var(txn.srchash)]</body></html>" if self_host path_info
|
||||
http-request return status 200 content-type "text/html; charset=utf-8" lf-string "<html><body>host: %H<br/>date: %[var(txn.httpdate)]<br/>src: %[var(req.src)]<br/>srchash: %[var(txn.srchash)]</body></html>" if self_host path_info
|
||||
|
||||
## Headers
|
||||
http-request set-header X-Proxy-Id "%H"
|
||||
|
Loading…
Reference in New Issue
Block a user