Skip to content

Comments

FPM/Nginx: allowing locally-accessed fpm status#102

Merged
bryanlatten merged 1 commit intomasterfrom
local-status
Oct 7, 2016
Merged

FPM/Nginx: allowing locally-accessed fpm status#102
bryanlatten merged 1 commit intomasterfrom
local-status

Conversation

@bryanlatten
Copy link
Contributor

@bryanlatten bryanlatten commented Oct 7, 2016

  • Added at /__status to not conflict with any application routes
  • Can be curl'd from an application healthcheck endpoint

screen shot 2016-10-07 at 11 20 19 am

@ingluisjimenez
Copy link
Contributor

👍


# Allow locally-accessible (only) FPM status page
location ~ ^/__status$ {
access_log off;
Copy link
Collaborator

Choose a reason for hiding this comment

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

we don't want to log this? are we 100% sure it's limited to local only @bryanlatten ? the access log would let us verify this.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

allow 127.0.0.1; restricts to local. I've manually confirmed that it doesn't expose beyond that. Just trying to keep the noise to a minimum - if this is accessed as part of a healthcheck, that's a duplicate access log

Copy link
Contributor Author

@bryanlatten bryanlatten Oct 7, 2016

Choose a reason for hiding this comment

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

@ko-be one better. nginx still DOES log on failure:
screen shot 2016-10-07 at 11 28 05 am

Copy link
Collaborator

Choose a reason for hiding this comment

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

As long as you manually verified it from outside, and if failures get logged, even better. @bryanlatten

@ko-be
Copy link
Collaborator

ko-be commented Oct 7, 2016

👍

@bryanlatten bryanlatten merged commit 3e05ece into master Oct 7, 2016
@bryanlatten bryanlatten deleted the local-status branch May 16, 2017 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants