Sebastian Mancke
b68609443c
changed lookup path for RedirectHostFile to current working directory
2018-02-16 09:26:54 +01:00
Sebastian Mancke
83ccded6f0
rename redirect config parameters
...
allow-redirects -> redirect
redirect-query-parameter -> redirect-query-parameter
check-referer-on-redirects -> redirect-check-referer
whitelist-domains-file -> redirect-host-file
2018-01-09 23:16:04 +01:00
Sebastian Mancke
ea40df699b
Overworked the dynamic redirect patch
...
* Reduced nesting in functions with early returns
* Some renamings
* Resolve whitelist path relative to caddy config
* Moved all redirect methods to redirect.go and redirect_test.go
* Only read the url direct from the parameter, if it is a post request
* Removed the parameter prevent-external-redirects, because it can be implicit assumed, when a whitelist is configured
2018-01-09 22:29:59 +01:00
Shannon Wynter
5e951624dd
Add httpupstream backend
2017-06-08 21:38:53 +10:00
Sebastian Mancke
91b029ebe1
internalized logging dependencies
2017-05-22 22:13:02 +02:00
Sebastian Mancke
a769eff0a2
fixed most golint findings
2017-05-15 11:56:24 +02:00
Sebastian Mancke
1123deab18
improved error message
2017-05-13 19:57:29 +02:00
Sebastian Mancke
fbb8a45c1c
fixed behaviour on caddy config errors
2017-05-13 19:54:43 +02:00
Sebastian Mancke
1f2abd2d6c
fixed behaviour on caddy config errors
2017-05-13 19:52:41 +02:00
magikstm
09d62d0bf4
Fixed some typos in error messages and comments
2017-05-13 00:06:01 -04:00
Sebastian Mancke
2edf9607d7
template path relative to caddy root
2017-05-12 13:45:09 +02:00
Sebastian Mancke
38e621e466
fixed backward compatibility
2017-05-04 23:30:02 +02:00
Sebastian Mancke
d6064b178a
fixed backward compatibility
2017-05-04 23:26:39 +02:00
Sebastian Mancke
a1b77df942
fixed log formating
2017-05-04 23:20:56 +02:00
Sebastian Mancke
38c218b1b1
configuration of login path
2017-05-04 23:16:53 +02:00
Sebastian Mancke
6ec82b68bf
Make subdirective names consistent #4
2017-05-04 21:26:40 +02:00
Sebastian Mancke
42d8affe03
removed RegisterDevDirective, because this is in upstream
2017-05-04 20:57:54 +02:00
Sebastian Mancke
0f48c6e2e4
register all provider in caddy by default
2017-05-03 16:10:04 +02:00
Sebastian Mancke
d3f5970db0
changed caddy directive name to login
2017-05-02 12:04:13 +02:00
Sebastian Mancke
8f085896d5
refactoring of config interface
2017-05-01 21:17:34 +02:00
Sebastian Mancke
1e45e9b216
text logging für caddy
2016-11-20 15:38:14 +01:00
Sebastian Mancke
2aeeb79e98
added caddy middleware
2016-11-20 15:27:36 +01:00