22 Commits
Author SHA1 Message Date
magikstm 400f042e08 Minor correction for cross-platform filepath 2018-03-11 22:53:13 -04:00
Sebastian Mancke 91c1710eca fixed caddy setup tests 2018-02-16 11:36:42 +01:00
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
luke.hopkins 31a491062e Fix merge conflict in README.md 2017-11-23 16:33:59 +00:00
magikstm 8c99657f77 Minor correction for cross-platform filepath 2017-11-09 22:22:56 -05:00
Markus Schulte 2de4e9fc73 go fmt 2017-06-20 16:23:02 +02:00
Dino Omanovic 24735e38db Fixed tests due to new grace period field with default 2017-05-26 14:04:13 +02:00
Sebastian Mancke a769eff0a2 fixed most golint findings 2017-05-15 11:56:24 +02:00
Sebastian Mancke 4276628b95 used . import for assert library in tests 2017-05-15 11:01:31 +02:00
Sebastian Mancke 1f2abd2d6c fixed behaviour on caddy config errors 2017-05-13 19:52:41 +02:00
Sebastian Mancke 2c76f02671 Added -cookie-expiry, -cookie-domain, -jwt-expiry parameters 2017-05-13 14:02:11 +02: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 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 8f085896d5 refactoring of config interface 2017-05-01 21:17:34 +02:00
Sebastian Mancke f64e996c95 test coverage 2017-04-15 21:06:35 +02:00
Sebastian Mancke 13bd7c7534 start oauth backend implementation 2017-04-15 17:38:21 +02:00
Sebastian Mancke 2aeeb79e98 added caddy middleware 2016-11-20 15:27:36 +01:00