-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from clouddrove/TF-8
update config with stub status
- Loading branch information
Showing
2 changed files
with
9 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
--- | ||
|
||
nginx_version: "1.15.11" | ||
nginx_version: "1.17.8" | ||
|
||
nginx_user: nginx | ||
nginx_group: nginx | ||
|
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 | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
# {{ ansible_managed }} | ||
server { | ||
listen 127.0.0.1:80; | ||
return 404; | ||
} | ||
listen 80; | ||
server_name _; | ||
location /nginx_status { | ||
# Enable Nginx stats | ||
stub_status on; | ||
allow {{ PrivateIp }}; | ||
} | ||
} |