parent
5d708d2808
commit
50d93f7a42
3 changed files with 37 additions and 0 deletions
|
@ -75,3 +75,9 @@
|
||||||
- hosts: ldap
|
- hosts: ldap
|
||||||
roles:
|
roles:
|
||||||
- { role: "common", tags: [ "common" ] }
|
- { role: "common", tags: [ "common" ] }
|
||||||
|
|
||||||
|
- hosts: tickets
|
||||||
|
roles:
|
||||||
|
- { role: "common", tags: [ "common" ] }
|
||||||
|
- { role: "acme", tags: [ "acme" ] }
|
||||||
|
- { role: "nginx", tags: [ "nginx" ] }
|
||||||
|
|
28
group_vars/tickets.yaml
Normal file
28
group_vars/tickets.yaml
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
---
|
||||||
|
|
||||||
|
root_access:
|
||||||
|
- ak
|
||||||
|
- foobar
|
||||||
|
- polyfloyd
|
||||||
|
|
||||||
|
acme_domains:
|
||||||
|
- tickets.bitlair.nl
|
||||||
|
|
||||||
|
nginx_sites:
|
||||||
|
- server_name: "tickets.bitlair.nl"
|
||||||
|
config:
|
||||||
|
- |-
|
||||||
|
location / {
|
||||||
|
proxy_pass http://127.0.0.1:3000/;
|
||||||
|
proxy_http_version 1.1;
|
||||||
|
proxy_set_header Connection "upgrade";
|
||||||
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
|
proxy_set_header X-Forwarded-For $remote_addr;
|
||||||
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
|
|
||||||
|
# by default nginx times out connections in one minute
|
||||||
|
proxy_read_timeout 1d;
|
||||||
|
}
|
||||||
|
|
||||||
|
group_nft_input:
|
||||||
|
- "tcp dport { http, https } accept # Allow web-traffic from world"
|
|
@ -53,6 +53,9 @@ chat.bitlair.nl
|
||||||
[ldap]
|
[ldap]
|
||||||
ldap-new.bitlair.nl
|
ldap-new.bitlair.nl
|
||||||
|
|
||||||
|
[tickets]
|
||||||
|
tickets.bitlair.nl
|
||||||
|
|
||||||
[debian:children]
|
[debian:children]
|
||||||
bank
|
bank
|
||||||
fotos
|
fotos
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue