Ilja Neumann
06f4e2d296
Add option to disable TLS
...
Can be used to disable TLS when the ocis-proxy is behind an
TLS-Terminating reverse proxy.
env PROXY_TLS=false or cli --tls=false
2020-07-20 15:27:35 +02:00
A.Unger
b74496bbf4
add alice and maintain a set order on the middlewares. Write uuid as a temporary response header
2020-05-06 14:30:41 +02:00
A.Unger
ad6a306a6f
add trailing comma
2020-05-04 09:24:07 +02:00
A.Unger
a0ed0b2e90
refactor middleware code and provide an example flow to get UUID
2020-04-30 13:39:17 +02:00
Ilja Neumann
b20b05806e
Integrate oid-middleware
...
This feature is required for user-based routing.
2020-03-26 09:44:51 +01:00
Ilja Neumann
1aa2b1df07
Fix TLS-Certificate not set correctly
2020-03-25 16:55:58 +01:00
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