mirror of
https://github.com/pomerium/pomerium.git
synced 2025-07-25 20:49:30 +02:00
Merge pull request #311 from desimone/bug/308
cmd/pomerium: add host to main logging handler
This commit is contained in:
commit
cd6311773f
2 changed files with 3 additions and 1 deletions
|
@ -130,7 +130,8 @@ func newGlobalRouter(o *config.Options) *mux.Router {
|
||||||
Str("group", r.Header.Get(proxy.HeaderGroups)).
|
Str("group", r.Header.Get(proxy.HeaderGroups)).
|
||||||
Str("method", r.Method).
|
Str("method", r.Method).
|
||||||
Str("service", o.Services).
|
Str("service", o.Services).
|
||||||
Str("url", r.URL.String()).
|
Str("host", r.Host).
|
||||||
|
Str("path", r.URL.String()).
|
||||||
Msg("http-request")
|
Msg("http-request")
|
||||||
}))
|
}))
|
||||||
if len(o.Headers) != 0 {
|
if len(o.Headers) != 0 {
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
|
|
||||||
- Add ability to override HTTPS backend's TLS Server Name. [GH-297](https://github.com/pomerium/pomerium/pull/297)
|
- Add ability to override HTTPS backend's TLS Server Name. [GH-297](https://github.com/pomerium/pomerium/pull/297)
|
||||||
- Add ability to set pomerium's encrypted session in a auth bearer token, or query param.
|
- Add ability to set pomerium's encrypted session in a auth bearer token, or query param.
|
||||||
|
- Add host to the main request logger middleware. [GH-308](https://github.com/pomerium/pomerium/issues/308)
|
||||||
|
|
||||||
### Security
|
### Security
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue