Added variables for nginx role
parent
090e8e4162
commit
9867d7e467
@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env ansible-playbook
|
||||
---
|
||||
|
||||
- hosts: proxy
|
||||
roles:
|
||||
- nginx
|
||||
|
@ -1,9 +1,25 @@
|
||||
---
|
||||
|
||||
reverse_proxy_sites:
|
||||
- {from: hindley.pains-perdus.fr, to: "http://127.0.0.1:5000"}
|
||||
- {from: "{{ grafana_domain_name }}", to: "http://127.0.0.1:3000"}
|
||||
ssl_reverse_proxy_upstream:
|
||||
pterodactyl:
|
||||
to: "10.7.10.103"
|
||||
sni_server_name: "play.nyx.ovh"
|
||||
to_port: 443
|
||||
matrix:
|
||||
to: "10.7.10.101"
|
||||
sni_server_name: matrix.pains-perdus.fr
|
||||
to_port: 443
|
||||
|
||||
sharing_sites:
|
||||
- {from: share.deso-palaiseau.fr, folder: "/home/histausse/www", user: histausse, group: histausse}
|
||||
- {from: wiki.deso-palaiseau.fr, folder: "/home/histausse/wiki/public", user: histausse, group: histausse}
|
||||
http_sites:
|
||||
"pains-perdus.fr":
|
||||
root_snippets: # TODO: check if needed
|
||||
- |
|
||||
listen 8448 ssl http2;
|
||||
listen [::]:8448 ssl http2;
|
||||
locations:
|
||||
"/.well-known/matrix/server":
|
||||
config:
|
||||
- |
|
||||
return 200 '{"m.server": "matrix.pains-perdus.fr:443"}';
|
||||
default_type application/json;
|
||||
add_header Access-Control-Allow-Origin *;
|
||||
|
@ -0,0 +1,12 @@
|
||||
---
|
||||
ansible_host: nitrogen.lan
|
||||
|
||||
## Users
|
||||
users:
|
||||
g33kex: sudo
|
||||
histausse: sudo
|
||||
|
||||
## Networking
|
||||
interfaces:
|
||||
eth0:
|
||||
type: dhcp
|
@ -0,0 +1 @@
|
||||
Subproject commit eaf8320201b61383631e7344b6a4f6b2f8189c4d
|
Loading…
Reference in New Issue