58 Commits
Author SHA1 Message Date
magikstm 400f042e08 Minor correction for cross-platform filepath 2018-03-11 22:53:13 -04:00
Sebastian Mancke 1e1b36bd1e caddy demo for custom claims 2018-02-16 17:24:35 +01: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 c39a242d4a fixed caddy readme 2018-01-09 23:59:35 +01:00
Sebastian Mancke b230877149 redirect documentation and caddy demo 2018-01-09 23:55:55 +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
Sebastian Mancke 15fde6118a removed test for {user} log, since it is not in caddy release, yet 2017-11-14 21:51:16 +01:00
Sebastian Mancke da2c6d759d removed test for {user} log, since it is not in caddy release, yet 2017-11-14 21:48:45 +01:00
Sebastian Mancke 1c72f98de3 removed test for {user} log, since it is not in caddy release, yet 2017-11-14 21:38:01 +01:00
Sebastian Mancke 33a9bae99e Check for replacement of the user in caddy handler. 2017-11-12 21:11:09 +01:00
magikstm b3c9c9352e add comments, minor correction and a test case 2017-11-10 00:25:35 -05:00
magikstm 8c99657f77 Minor correction for cross-platform filepath 2017-11-09 22:22:56 -05:00
magikstm 94bd65b2a7 go fmt and added some comments 2017-11-09 21:46:03 -05:00
magikstm e272a7b640 Correct error in last commit 2017-11-09 01:30:58 -05:00
magikstm 36363aaae3 Add additional cookie validations 2017-11-09 01:22:30 -05:00
magikstm 4309067e07 Add a cookie with a valid token to test httpserver.NewReplacer 2017-11-09 00:48:12 -05:00
magikstm fc5e3a317b Add a test for /login 2017-11-09 00:09:14 -05:00
magikstm 924b0f569b handler_test.go first try on a test 2017-11-08 23:58:33 -05:00
magikstm 46c165561f Caddy - Use {user} placeholder for logs #32 2017-11-07 22:01:57 -05:00
schnattererandGitHub bdeafe9a95 Updates Caddy Readme to avoid deprecation warning
"login / " leads to deprecation warning and fails to start.
2017-10-07 18:05:16 +02:00
Markus Schulte 2de4e9fc73 go fmt 2017-06-20 16:23:02 +02:00
Shannon Wynter 5e951624dd Add httpupstream backend 2017-06-08 21:38:53 +10:00
Dino Omanovic 24735e38db Fixed tests due to new grace period field with default 2017-05-26 14:04:13 +02:00
Sebastian Mancke 91b029ebe1 internalized logging dependencies 2017-05-22 22:13:02 +02:00
magikstm ddd220a996 Correct a typo in an error message and a few other minor typos 2017-05-16 01:14:45 -04: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 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
Sebastian Mancke 2c76f02671 Added -cookie-expiry, -cookie-domain, -jwt-expiry parameters 2017-05-13 14:02:11 +02:00
magikstm 020bb02a38 Correct some mispellings and minor cleanup
Correct some mispellings and minor cleanup

Correct some errors introduced in last commit

Commit some errors introduced in last commit
2017-05-13 05:08:58 -04: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 50e4a46394 added caddy configuration demo 2017-05-05 19:59:28 +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 e1859a6018 fixed prefix handling for github in caddy 2017-05-03 16:52:05 +02:00
Sebastian ManckeandGitHub c92d63f937 Update README.md 2017-05-03 16:42:37 +02:00
Sebastian Mancke 0f48c6e2e4 register all provider in caddy by default 2017-05-03 16:10:04 +02:00
Sebastian Mancke 5590a79a29 update readme 2017-05-02 14:09:26 +02:00
Sebastian Mancke 62fd8a0b01 readme updates 2017-05-02 13:13:19 +02:00
Sebastian Mancke d3f5970db0 changed caddy directive name to login 2017-05-02 12:04:13 +02:00