We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 33df45e + b0d6480 commit bd95417Copy full SHA for bd95417
defaults/main.yml
@@ -1,6 +1,6 @@
1
---
2
3
-nginx_version: "1.15.11"
+nginx_version: "1.17.8"
4
5
nginx_user: nginx
6
nginx_group: nginx
templates/config/sites-enabled/default.conf
@@ -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
7
+ stub_status on;
8
+ allow {{ PrivateIp }};
9
+ }
10
+}
0 commit comments