Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Moved php-fpm status to a geo block setup.
- Loading branch information
António P. P. Almeida
committed
Aug 12, 2011
1 parent
9dd388e
commit 370f528
Showing
5 changed files
with
40 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,9 @@ | |||
# -*- mode: nginx; mode: flyspell-prog; ispell-local-dictionary: "american" -*- | |||
### Configuration of php-fpm status and ping pages. Here we define the | |||
### allowed hosts using the Geo Module. http://wiki.nginx.org/HttpGeoModule | |||
|
|||
geo $dont_show_fpm_status { | |||
default 1; | |||
127.0.0.1 0; # allow on the loopback | |||
192.168.1.0/24 0; # allow on an internal network | |||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters