caddy/modules/caddyhttp
Matthew Holt 2a8a198568
reverseproxy: Don't overwrite existing X-Forwarded-Proto header
Correct behavior is not well defined because this is a non-standard
header field. This could be a "hop-by-hop" field much like
X-Forwarded-For is, but even our X-Forwarded-For implementation
preserves prior entries. Or, it could be best to preserve the original
value from the first hop, representing the protocol as facing the
client.

Let's try it the other way for a bit and see how it goes.

See https://caddy.community/t/caddy2-w-wordpress-behind-nginx-reverse-proxy/8174/3?u=matt
2020-05-20 11:33:17 -06:00
..
caddyauth caddyauth: Add realm to basicauth Caddyfile directive (#3315) 2020-05-18 12:19:28 -06:00
encode gzip: Use klauspost/gzip, an optimized gzip implementation 2020-04-01 14:09:57 -06:00
fileserver file_server: Accept files args in one-liner of Caddyfile matcher (#3298) 2020-05-05 12:34:58 -06:00
headers headers: Trim any trailing colon from field names as a courtesy 2020-03-30 11:52:11 -06:00
requestbody Remove some non-essential plugins from this repo (#2780) 2020-03-24 10:37:47 -06:00
reverseproxy reverseproxy: Don't overwrite existing X-Forwarded-Proto header 2020-05-20 11:33:17 -06:00
rewrite rewrite: Fix for rewrites with URI placeholders (#3209) 2020-04-01 00:43:40 -06:00
standard Remove some non-essential plugins from this repo (#2780) 2020-03-24 10:37:47 -06:00
templates templates: trim windows whitespace in SplitFrontMatter; fix #3386 (#3387) 2020-05-18 13:01:04 -06:00
app.go httpserver: Add experimental H2C support (#3289) 2020-05-05 12:33:21 -06:00
autohttps.go httpcaddyfile: Add nil check to prevent panic, fix validation logic 2020-04-24 20:57:51 -06:00
caddyhttp.go caddyhttp: Fix trailers when recording responses (fixes #3236) 2020-04-22 11:10:13 -06:00
celmatcher.go docs: link to CEL standard definitions (#3407) 2020-05-13 17:11:31 +00:00
errors.go http: Change routes to sequential matcher evaluation (#2967) 2020-01-09 10:00:13 -07:00
marshalers.go http: Fix ciphersuite logging 2020-01-16 15:44:49 -06:00
matchers_test.go caddyhttp: 'not' matcher now accepts multiple matcher sets and OR's them (#3208) 2020-04-01 10:58:29 -06:00
matchers.go caddyhttp: Fix merging of Caddyfile matchers in not blocks (#3379) 2020-05-11 14:38:33 -06:00
replacer_test.go Refactor for CertMagic v0.10; prepare for PKI app 2020-03-06 23:15:25 -07:00
replacer.go caddyhttp: Add split_path to file matcher (used by php_fastcgi) (#3302) 2020-04-27 14:46:46 -06:00
responsewriter.go caddyhttp: Fix trailers when recording responses (fixes #3236) 2020-04-22 11:10:13 -06:00
routes.go caddyhttp: Minor refactoring for preparing requests 2020-05-11 12:14:47 -06:00
server.go caddyhttp: Match hostnames with wildcards to loggers (#3378) 2020-05-11 14:17:59 -06:00
staticerror.go Fix some godocs 2020-04-11 09:01:40 -06:00
staticresp_test.go Implement config adapters and beginning of Caddyfile adapter 2019-08-09 12:05:47 -06:00
staticresp.go httpcaddyfile: Update directive docs; put root after rewrite 2020-01-22 09:32:38 -07:00
subroute.go http: Fix subroutes, ensure that next handlers can still be called 2020-01-12 13:39:32 -07:00
vars.go v2: Implement RegExp Vars Matcher (#2997) 2020-02-08 12:26:31 -07:00