caddy/caddyhttp
Matthew Holt be96cc0e65
httpserver: Raise error when adjusted site addresses clash at startup
See discussion on #2015 for how this situation was discovered. For a
Caddyfile like this:

	localhost {
		...
	}
	:2015 {
		...
	}

Running Caddy like this:

	caddy -host localhost

Produces two sites both defined as `localhost:2015` because the flag
changes the default host value to be `localhost`. This should be an
error since the sites are not distinct and it is confusing. It can also
cause issues with TLS handshakes loading the wrong cert, as the linked
discussion shows.
2018-02-15 00:04:31 -07:00
..
basicauth add basicauth {user} to replacer (#1979) 2018-01-07 14:44:49 +00:00
bind Apply Apache license to all .go source files (closes #1865) 2017-09-22 23:56:58 -06:00
browse browse: Correct 'modified' date alignment (#1954) 2018-01-15 18:18:25 -07:00
errors Apply Apache license to all .go source files (closes #1865) 2017-09-22 23:56:58 -06:00
expvar Apply Apache license to all .go source files (closes #1865) 2017-09-22 23:56:58 -06:00
extensions Apply Apache license to all .go source files (closes #1865) 2017-09-22 23:56:58 -06:00
fastcgi fastcig: GET requests send along the body (#1975) 2018-02-11 14:45:45 -07:00
gzip Apply Apache license to all .go source files (closes #1865) 2017-09-22 23:56:58 -06:00
header Apply Apache license to all .go source files (closes #1865) 2017-09-22 23:56:58 -06:00
httpserver httpserver: Raise error when adjusted site addresses clash at startup 2018-02-15 00:04:31 -07:00
index Implement per-site index (#1906) 2017-10-29 21:13:10 +00:00
internalsrv Apply Apache license to all .go source files (closes #1865) 2017-09-22 23:56:58 -06:00
limits Apply Apache license to all .go source files (closes #1865) 2017-09-22 23:56:58 -06:00
log Allow Masking of IP address in Logfile. (#1930) 2017-12-23 10:52:11 +00:00
markdown markdown: only update template when file changed (#1909) 2017-11-04 17:36:59 +00:00
mime Apply Apache license to all .go source files (closes #1865) 2017-09-22 23:56:58 -06:00
pprof Apply Apache license to all .go source files (closes #1865) 2017-09-22 23:56:58 -06:00
proxy proxy: Turn on KeepAlive in QuicConfig of RoundTripper (#1943) 2018-01-15 21:00:59 -07:00
push Implement per-site index (#1906) 2017-10-29 21:13:10 +00:00
redirect redir: Do not count multiple rules with if statements as duplicates 2017-09-28 11:41:11 -06:00
requestid request_id: Allow reusing ID from header (closes #2012) 2018-02-02 19:59:28 -07:00
rewrite Apply Apache license to all .go source files (closes #1865) 2017-09-22 23:56:58 -06:00
root Apply Apache license to all .go source files (closes #1865) 2017-09-22 23:56:58 -06:00
staticfiles staticfiles: Prevent path-based open redirects 2018-02-11 13:30:01 -07:00
status Apply Apache license to all .go source files (closes #1865) 2017-09-22 23:56:58 -06:00
templates template: add extension filter test and simplify test code (#1996) 2018-01-15 18:27:55 -07:00
timeouts Apply Apache license to all .go source files (closes #1865) 2017-09-22 23:56:58 -06:00
websocket Apply Apache license to all .go source files (closes #1865) 2017-09-22 23:56:58 -06:00
caddyhttp_test.go Implement 'http.on' plugin and replace UUID lib (#1864) 2017-10-01 11:24:50 -06:00
caddyhttp.go Implement 'http.on' plugin and replace UUID lib (#1864) 2017-10-01 11:24:50 -06:00