Created
          September 2, 2016 07:22 
        
      - 
      
- 
        Save MiteshShah/38591a384c426a63ec3b002ac0208801 to your computer and use it in GitHub Desktop. 
  
    
      This file contains hidden or 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
    
  
  
    
  | server { | |
| listen 127.0.0.1:80; | |
| location /nginx_status { | |
| stub_status on; | |
| access_log off; | |
| allow all; | |
| } | |
| location ~ ^/(status|ping)$ { | |
| access_log off; | |
| allow 127.0.0.1; | |
| deny all; | |
| include fastcgi_params; | |
| fastcgi_pass 127.0.0.1:9000; | |
| } | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment