Procházet zdrojové kódy

rename to matrix_nginx_proxy_hsts_preload_enabled

pull/1024/head
sakkiii před 4 roky
rodič
revize
3436f9c10a
10 změnil soubory, kde provedl 10 přidání a 10 odebrání
  1. +1
    -1
      roles/matrix-nginx-proxy/defaults/main.yml
  2. +1
    -1
      roles/matrix-nginx-proxy/templates/nginx/conf.d/matrix-base-domain.conf.j2
  3. +1
    -1
      roles/matrix-nginx-proxy/templates/nginx/conf.d/matrix-bot-go-neb.conf.j2
  4. +1
    -1
      roles/matrix-nginx-proxy/templates/nginx/conf.d/matrix-client-element.conf.j2
  5. +1
    -1
      roles/matrix-nginx-proxy/templates/nginx/conf.d/matrix-dimension.conf.j2
  6. +1
    -1
      roles/matrix-nginx-proxy/templates/nginx/conf.d/matrix-domain.conf.j2
  7. +1
    -1
      roles/matrix-nginx-proxy/templates/nginx/conf.d/matrix-grafana.conf.j2
  8. +1
    -1
      roles/matrix-nginx-proxy/templates/nginx/conf.d/matrix-jitsi.conf.j2
  9. +1
    -1
      roles/matrix-nginx-proxy/templates/nginx/conf.d/matrix-riot-web.conf.j2
  10. +1
    -1
      roles/matrix-nginx-proxy/templates/nginx/conf.d/matrix-sygnal.conf.j2

+ 1
- 1
roles/matrix-nginx-proxy/defaults/main.yml Zobrazit soubor

@@ -288,7 +288,7 @@ matrix_nginx_proxy_floc_optout_enabled: true
# - https://en.wikipedia.org/wiki/HTTP_Strict_Transport_Security
# - https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security
# - https://hstspreload.org/#opt-in
matrix_nginx_proxy_hsts_preload_enable: false
matrix_nginx_proxy_hsts_preload_enabled: false

# X-XSS-Protection Enable
# Stops pages from loading when they detect reflected cross-site scripting (XSS) attacks.


+ 1
- 1
roles/matrix-nginx-proxy/templates/nginx/conf.d/matrix-base-domain.conf.j2 Zobrazit soubor

@@ -10,7 +10,7 @@
add_header Permissions-Policy interest-cohort=() always;
{% endif %}
{% if matrix_nginx_proxy_hsts_preload_enable %}
{% if matrix_nginx_proxy_hsts_preload_enabled %}
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" always;
{% else %}
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;


+ 1
- 1
roles/matrix-nginx-proxy/templates/nginx/conf.d/matrix-bot-go-neb.conf.j2 Zobrazit soubor

@@ -3,7 +3,7 @@
{% macro render_vhost_directives() %}
gzip on;
gzip_types text/plain application/json application/javascript text/css image/x-icon font/ttf image/gif;
{% if matrix_nginx_proxy_hsts_preload_enable %}
{% if matrix_nginx_proxy_hsts_preload_enabled %}
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" always;
{% else %}
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;


+ 1
- 1
roles/matrix-nginx-proxy/templates/nginx/conf.d/matrix-client-element.conf.j2 Zobrazit soubor

@@ -4,7 +4,7 @@
gzip on;
gzip_types text/plain application/json application/javascript text/css image/x-icon font/ttf image/gif;

{% if matrix_nginx_proxy_hsts_preload_enable %}
{% if matrix_nginx_proxy_hsts_preload_enabled %}
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" always;
{% else %}
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;


+ 1
- 1
roles/matrix-nginx-proxy/templates/nginx/conf.d/matrix-dimension.conf.j2 Zobrazit soubor

@@ -3,7 +3,7 @@
{% macro render_vhost_directives() %}
gzip on;
gzip_types text/plain application/json application/javascript text/css image/x-icon font/ttf image/gif;
{% if matrix_nginx_proxy_hsts_preload_enable %}
{% if matrix_nginx_proxy_hsts_preload_enabled %}
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" always;
{% else %}
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;


+ 1
- 1
roles/matrix-nginx-proxy/templates/nginx/conf.d/matrix-domain.conf.j2 Zobrazit soubor

@@ -21,7 +21,7 @@
add_header Permissions-Policy interest-cohort=() always;
{% endif %}
{% if matrix_nginx_proxy_hsts_preload_enable %}
{% if matrix_nginx_proxy_hsts_preload_enabled %}
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" always;
{% else %}
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;


+ 1
- 1
roles/matrix-nginx-proxy/templates/nginx/conf.d/matrix-grafana.conf.j2 Zobrazit soubor

@@ -4,7 +4,7 @@
gzip on;
gzip_types text/plain application/json application/javascript text/css image/x-icon font/ttf image/gif;

{% if matrix_nginx_proxy_hsts_preload_enable %}
{% if matrix_nginx_proxy_hsts_preload_enabled %}
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" always;
{% else %}
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;


+ 1
- 1
roles/matrix-nginx-proxy/templates/nginx/conf.d/matrix-jitsi.conf.j2 Zobrazit soubor

@@ -3,7 +3,7 @@
{% macro render_vhost_directives() %}
gzip on;
gzip_types text/plain application/json application/javascript text/css image/x-icon font/ttf image/gif;
{% if matrix_nginx_proxy_hsts_preload_enable %}
{% if matrix_nginx_proxy_hsts_preload_enabled %}
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" always;
{% else %}
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;


+ 1
- 1
roles/matrix-nginx-proxy/templates/nginx/conf.d/matrix-riot-web.conf.j2 Zobrazit soubor

@@ -5,7 +5,7 @@
add_header Permissions-Policy interest-cohort=() always;
{% endif %}
{% if matrix_nginx_proxy_hsts_preload_enable %}
{% if matrix_nginx_proxy_hsts_preload_enabled %}
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" always;
{% else %}
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;


+ 1
- 1
roles/matrix-nginx-proxy/templates/nginx/conf.d/matrix-sygnal.conf.j2 Zobrazit soubor

@@ -3,7 +3,7 @@
{% macro render_vhost_directives() %}
gzip on;
gzip_types text/plain application/json application/javascript text/css image/x-icon font/ttf image/gif;
{% if matrix_nginx_proxy_hsts_preload_enable %}
{% if matrix_nginx_proxy_hsts_preload_enabled %}
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" always;
{% else %}
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;


Načítá se…
Zrušit
Uložit