Created
May 30, 2021 22:03
-
-
Save badouralix/a95af2ab5d710cc2ca08bf57eb8a4ae2 to your computer and use it in GitHub Desktop.
Revisions
-
badouralix created this gist
May 30, 2021 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,26 @@ server { listen 81; server_name localhost; access_log off; allow 127.0.0.1; allow 172.17.0.0/16; # docker bridge cidr allow 10.42.0.0/16; # rancher managed cidr deny all; location /nginx_status { # Choose your status module # freely available with open source NGINX stub_status; # for open source NGINX < version 1.7.5 # stub_status on; # available only with NGINX Plus # status; # ensures the version information can be retrieved server_tokens on; } }