Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bad access log #2682

Merged
merged 5 commits into from Jan 11, 2018
Merged

Fix bad access log #2682

merged 5 commits into from Jan 11, 2018

Conversation

mmatur
Copy link
Member

@mmatur mmatur commented Jan 9, 2018

What does this PR do?

This PR fix two issues:

  • bad access log when Træfik throw an error
  • missing quotes on referrer and user-agent fields

Motivation

Fixes #2649 #2565

More

  • Added/updated tests

Copy link
Contributor

@nmengin nmengin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👏 🗞️

Copy link
Member

@juliens juliens left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏

@@ -0,0 +1,16 @@
defaultEntryPoints = ["http"]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you sure about this file ?

@@ -11,3 +15,11 @@ checkNewVersion = false
[entryPoints]
[entryPoints.http]
address = ":8000"

[web]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[web] is deprecated

[entryPoints.httpFrontendAuth]
address = ":8006"
[entryPoints.httpRateLimit]
address = ":8007"

checkNewVersion = false

################################################################
# Web configuration backend
################################################################
[web]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[web] is deprecated

Copy link
Member

@ldez ldez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@juliens juliens left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing quotes arround the Referer field in access logs
5 participants