Compare commits
No commits in common. "98ea861c1391f652d339704f8be3096b814f0c16" and "7ab3cb6c5990c003b25fc4f99d50452ecea4a88a" have entirely different histories.
98ea861c13
...
7ab3cb6c59
@ -1,2 +0,0 @@
|
|||||||
This directory is intended to contain pillar data shared between cluster hosts.
|
|
||||||
Create a subdirectory for the site the respective cluster is in, if one doesn't yet exist.
|
|
@ -24,9 +24,3 @@
|
|||||||
interfaces: {{ interfaces }}
|
interfaces: {{ interfaces }}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
{%- endmacro -%}
|
{%- endmacro -%}
|
||||||
|
|
||||||
{%- macro nginx_crtkeypair(name, ssldir) -%}
|
|
||||||
tls_{{ name }}:
|
|
||||||
- ssl_certificate: {{ sslbase }}/{{ ssldir }}/crt
|
|
||||||
- ssl_certificate_key: {{ sslbase }}/{{ ssldir }}/key
|
|
||||||
{%- endmacro -%}
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
{%- set sslbase = '/etc/ssl' -%}
|
|
||||||
{%- from 'macros.jinja' import nginx_crtkeypair with context -%}
|
|
||||||
{%- from 'macros.jinja' import firewall_interfaces, listeners -%}
|
{%- from 'macros.jinja' import firewall_interfaces, listeners -%}
|
||||||
{%- set firewall_interfaces = firewall_interfaces -%}
|
{%- set firewall_interfaces = firewall_interfaces -%}
|
||||||
{%- set listeners = listeners -%}
|
{%- set listeners = listeners -%}
|
||||||
{%- set nginx_crtkeypair = nginx_crtkeypair -%}
|
|
||||||
{%- set minion = grains['id'] -%}
|
{%- set minion = grains['id'] -%}
|
||||||
|
|
||||||
{#- START Listener detection logic -#}
|
{#- START Listener detection logic -#}
|
||||||
|
@ -5,16 +5,6 @@ nginx:
|
|||||||
robots:
|
robots:
|
||||||
- location /robots.txt:
|
- location /robots.txt:
|
||||||
- root: /srv/www/htdocs
|
- root: /srv/www/htdocs
|
||||||
tls:
|
|
||||||
- ssl_session_timeout: 1d
|
|
||||||
- ssl_session_cache: shared:Lysergic:10m
|
|
||||||
- ssl_session_tickets: 'off'
|
|
||||||
- ssl_protocols: TLSv1.3
|
|
||||||
- ssl_prefer_server_ciphers: 'off'
|
|
||||||
- add_header: Strict-Transport-Security "max-age=63072000" always
|
|
||||||
- ssl_stapling: 'on'
|
|
||||||
- ssl_stapling_verify: 'on'
|
|
||||||
- ssl_trusted_certificate: /etc/ssl/ca-bundle.pem
|
|
||||||
php-fastcgi:
|
php-fastcgi:
|
||||||
- 'location ~* \.php$':
|
- 'location ~* \.php$':
|
||||||
- fastcgi_index: index.php
|
- fastcgi_index: index.php
|
||||||
|
Loading…
x
Reference in New Issue
Block a user