Commit Graph

7 Commits

Author SHA1 Message Date
Ilja Neumann
6e33472b40 Make TLS-Certificate configurable
Currently the proxy generates certificates on every start for dev purposes. This commit adds an option to make this behaviour configurable.
This also removes the dependency on konnectd`s crypto code and copies it instead, as this library is a first version which is not meant for usage by other services.

A proper cert-generation lib should be added to ocis-pkg instead. Then this code can be refactored to use it.
2020-03-25 09:44:18 +01:00
A.Unger
b8cff1f556 allow for settable handler option 2020-03-04 21:13:07 +01:00
A.Unger
2690898b1d use options logger instead of creating a new one 2020-02-24 13:22:13 +01:00
A.Unger
4267103bd5 moved init code away from main routine 2020-02-24 13:20:39 +01:00
A.Unger
ee23aee6ee added necessary basic routes for the proxy to work nicely with ocis single binary 2020-02-24 11:21:31 +01:00
A.Unger
60bd1d8af7 added hardcoded routes for the reverse proxy to bypass authentication and phoenix 2020-02-24 11:02:52 +01:00
Jörn Friedrich Dreyer
59bd9a93d2 Initial Commit
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-02-23 16:13:39 +01:00