move system
This commit is contained in:
@@ -34,8 +34,3 @@ do
|
||||
done
|
||||
|
||||
systemctl reload haproxy
|
||||
|
||||
# update jabber
|
||||
cat /etc/letsencrypt/live/jabber.0rpheus.net/fullchain.pem > /etc/prosody/certs/jabber.0rpheus.net.crt
|
||||
cat /etc/letsencrypt/live/jabber.0rpheus.net/privkey.pem > /etc/prosody/certs/jabber.0rpheus.net.key
|
||||
systemctl restart prosody.service
|
||||
|
@@ -20,10 +20,14 @@
|
||||
system: yes
|
||||
create_home: no
|
||||
|
||||
- name: create config dir
|
||||
- name: create directories
|
||||
file:
|
||||
path: /etc/haproxy/
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
with_items:
|
||||
- /etc/haproxy/
|
||||
- /etc/haproxy/certs/
|
||||
- /var/lib/haproxy/
|
||||
|
||||
- name: copy errorcodes
|
||||
copy:
|
||||
|
@@ -1,3 +1,3 @@
|
||||
{% for domain in haproxy_backends %}
|
||||
{% for domain in haproxy_domains %}
|
||||
{{ domain }}
|
||||
{% endfor %}
|
||||
|
@@ -54,7 +54,7 @@ defaults
|
||||
|
||||
frontend http
|
||||
bind *:80 name http
|
||||
bind *:443 name https ssl crt /etc/haproxy/certs/default.pem crt /etc/haproxy/certs/ ecdhe secp384r1 alpn h2,http/1.1 npn h2,http/1.1
|
||||
bind *:443 name https ssl crt /etc/haproxy/certs/mail.0rpheus.net.pem crt /etc/haproxy/certs/ ecdhe secp384r1 alpn h2,http/1.1 npn h2,http/1.1
|
||||
|
||||
compression algo gzip
|
||||
compression type text/html text/plain text/javascript application/javascript application/xml text/css
|
||||
|
@@ -1,3 +1,3 @@
|
||||
{% for domain in haproxy_backends %}
|
||||
{{- domain }} {{ domain }}
|
||||
{% for domain in haproxy_domains %}
|
||||
{{- domain }} {{ haproxy_domains[domain] }}
|
||||
{% endfor %}
|
||||
|
Reference in New Issue
Block a user