diff options
author | Matthew Holt <mholt@users.noreply.github.com> | 2020-04-02 14:20:30 -0600 |
---|---|---|
committer | Matthew Holt <mholt@users.noreply.github.com> | 2020-04-02 14:24:53 -0600 |
commit | 1c190b001b95e57d21dc63c01ae3c6de2a3fec57 (patch) | |
tree | 762fca56efffb3cedc7de7128f42c6c479e3a34f /modules/caddyhttp/map/caddyfile.go | |
parent | 3634c4593f2d9999dca2d7a02e23edc29bf7bd11 (diff) |
httpcaddyfile: Refactor site key parsing; detect conflicting schemes
We now store the parsed site/server block keys with the server block,
rather than parsing the addresses every time we read them.
Also detect conflicting schemes, i.e. TLS and non-TLS cannot be served
from the same server (natively -- modules could be built for it).
Also do not add site subroutes (subroutes generated specifically from
site blocks in the Caddyfile) that are empty.
Diffstat (limited to 'modules/caddyhttp/map/caddyfile.go')
0 files changed, 0 insertions, 0 deletions