Commit 7d6f2072 authored by nimrod's avatar nimrod
Browse files

fixup! Add security.txt to all domains.

parent 74498e1a
Loading
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -5,6 +5,7 @@ server {
    root        /var/www/autoconfig.shore.co.il/;
    include     snippets/www-acme-challenge.conf;
    include     snippets/ads-txt.conf;
    include     snippets/security-txt.conf;
    include     snippets/robots-allow-all.conf;
}

@@ -15,5 +16,6 @@ server {
    root        /var/www/autoconfig.shore.co.il/;
    include     snippets/robots-allow-all.conf;
    include     snippets/ads-txt.conf;
    include     snippets/security-txt.conf;
    include     snippets/ssl.conf;
}
+2 −0
Original line number Diff line number Diff line
@@ -6,6 +6,7 @@ server {
    server_name git.shore.co.il;
    include     snippets/robots-allow-all.conf;
    include     snippets/ads-txt.conf;
    include     snippets/security-txt.conf;
    include     snippets/www-acme-challenge.conf;
    include     snippets/redirect-https.conf;
}
@@ -16,6 +17,7 @@ server {
    server_name git.shore.co.il;
    include     snippets/robots-allow-all.conf;
    include     snippets/ads-txt.conf;
    include     snippets/security-txt.conf;
    include     snippets/ssl.conf;

    location / {
+0 −1
Original line number Diff line number Diff line
@@ -5,4 +5,3 @@ tcp_nopush on;
tcp_nodelay     on;
server_tokens   off;
include         snippets/common-headers.conf;
include         snippets/security-txt.conf;
+2 −0
Original line number Diff line number Diff line
@@ -5,6 +5,7 @@ server {
    root        /var/www/mail.shore.co.il/;
    include     snippets/robots-disallow-all.conf;
    include     snippets/ads-txt.conf;
    include     snippets/security-txt.conf;
}

server {
@@ -14,6 +15,7 @@ server {
    root                        /var/www/mail.shore.co.il/;
    include                     snippets/robots-disallow-all.conf;
    include                     snippets/ads-txt.conf;
    include                     snippets/security-txt.conf;

    # Copied from snippetes/ssl.conf.
    add_header                  Strict-Transport-Security "max-age=31536000; includeSubDomains; preload";
+2 −0
Original line number Diff line number Diff line
@@ -6,6 +6,7 @@ server {
    server_name nextcloud.shore.co.il;
    include     snippets/robots-disallow-all.conf;
    include     snippets/ads-txt.conf;
    include     snippets/security-txt.conf;
    include     snippets/www-acme-challenge.conf;
    include     snippets/redirect-https.conf;
}
@@ -16,6 +17,7 @@ server {
    server_name nextcloud.shore.co.il;
    include     snippets/robots-disallow-all.conf;
    include     snippets/ads-txt.conf;
    include     snippets/security-txt.conf;
    include     snippets/ssl.conf;
    include     snippets/nextcloud-well-known.conf;

Loading