Skip to content

Commit 1d0cb10

Browse files
authored
Update README (#171)
And remove old tests leftover file
1 parent 11bbdfe commit 1d0cb10

File tree

2 files changed

+52
-216
lines changed

2 files changed

+52
-216
lines changed

README.md

Lines changed: 52 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,12 @@ This is a sample playbook file for deploying the Ansible Galaxy NGINX role in a
716716
template_file: http/default.conf.j2
717717
conf_file_name: default.conf
718718
conf_file_location: /etc/nginx/conf.d/
719-
port: 80
719+
listen:
720+
listen_localhost:
721+
#ip: 0.0.0.0
722+
port: 80
723+
opts:
724+
- default_server
720725
server_name: localhost
721726
error_page: /usr/share/nginx/html
722727
autoindex: false
@@ -737,8 +742,8 @@ This is a sample playbook file for deploying the Ansible Galaxy NGINX role in a
737742
sticky_cookie: false
738743
servers:
739744
frontend_server_1:
740-
address: localhost
741-
port: 80
745+
address: 0.0.0.0
746+
port: 8081
742747
weight: 1
743748
health_check: max_fails=3 fail_timeout=5s
744749
upstream_2:
@@ -749,10 +754,52 @@ This is a sample playbook file for deploying the Ansible Galaxy NGINX role in a
749754
sticky_cookie: false
750755
servers:
751756
backend_server_1:
752-
address: localhost
753-
port: 8080
757+
address: 0.0.0.0
758+
port: 8082
754759
weight: 1
755760
health_check: max_fails=3 fail_timeout=5s
761+
frontend:
762+
template_file: http/default.conf.j2
763+
conf_file_name: frontend_default.conf
764+
conf_file_location: /etc/nginx/conf.d/
765+
listen:
766+
listen_localhost:
767+
ip: 0.0.0.0
768+
port: 8081
769+
opts: []
770+
server_name: localhost
771+
error_page: /usr/share/nginx/html
772+
autoindex: false
773+
web_server:
774+
locations:
775+
frontend_site:
776+
location: /
777+
proxy_hide_headers:
778+
- X-Powered-By
779+
html_file_location: /usr/share/nginx/html
780+
html_file_name: index.html
781+
autoindex: false
782+
http_demo_conf: false
783+
backend:
784+
template_file: http/default.conf.j2
785+
conf_file_name: backend_default.conf
786+
conf_file_location: /etc/nginx/conf.d/
787+
listen:
788+
listen_localhost:
789+
ip: 0.0.0.0
790+
port: 8082
791+
opts: []
792+
server_name: localhost
793+
error_page: /usr/share/nginx/html
794+
autoindex: false
795+
web_server:
796+
locations:
797+
backend_site:
798+
location: /
799+
html_file_location: /usr/share/nginx/html
800+
html_file_name: index.html
801+
autoindex: false
802+
http_demo_conf: false
756803
```
757804

758805

tests/playbooks/nginx-http-template.yml

Lines changed: 0 additions & 211 deletions
This file was deleted.

0 commit comments

Comments
 (0)