diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2020-11-05 15:18:47 -0500 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2020-11-05 15:24:59 -0500 |
| commit | 012a527abd87c7384051fb62204a18368b293eb9 (patch) | |
| tree | b90b1165b31feda64fdfbd7a7ff2a33ce0a09b01 | |
| parent | 62875b62a30013d5465f9f5c7d27f1a6ee6ac9bc (diff) | |
add our response to Copperhead's baseless lawsuit
| -rw-r--r-- | nginx/server.conf | 2 | ||||
| -rwxr-xr-x | process_static | 2 | ||||
| -rw-r--r-- | static/legal/Micay_ Copperhead_ Statement of Defendant and Counterclaim.pdf | bin | 0 -> 246708 bytes |
3 files changed, 2 insertions, 2 deletions
diff --git a/nginx/server.conf b/nginx/server.conf index 25cd5525..2fef31d3 100644 --- a/nginx/server.conf +++ b/nginx/server.conf @@ -103,7 +103,7 @@ server { gzip_static off; } - location ~ "\.(json|txt|xml)$" { + location ~ "\.(json|pdf|txt|xml)$" { include /etc/nginx/snippets/security-headers.conf; add_header Cache-Control "public, max-age=1800"; } diff --git a/process_static b/process_static index 923c234e..ed2a3384 100755 --- a/process_static +++ b/process_static @@ -10,6 +10,6 @@ json_reformat -m < static_tmp/manifest.webmanifest | sponge static_tmp/manifest. find static_tmp -name '*.css' -exec csso {} -o {} \; find static_tmp -name '*.html' -exec html-minifier --collapse-whitespace --process-scripts "application/ld+json" --collapse-boolean-attributes --remove-attribute-quotes --remove-comments --remove-empty-attributes --remove-redundant-attributes --remove-script-type-attributes --remove-style-link-type-attributes --sort-attributes --sort-class-name {} -o {} \; find static_tmp -name '*.js' -exec terser --module -cmo {} {} \; -find static_tmp -regex '\(.+/LICENSE\|.+\.\(css\|html\|ico\|js\|svg\|json\|txt\|webmanifest\|xml\)\)' \ +find static_tmp -regex '\(.+/LICENSE\|.+\.\(css\|html\|ico\|js\|svg\|json\|pdf\|txt\|webmanifest\|xml\)\)' \ -exec zopfli {} \; -exec touch -r {} {}.gz \; \ -exec brotli -k {} \; diff --git a/static/legal/Micay_ Copperhead_ Statement of Defendant and Counterclaim.pdf b/static/legal/Micay_ Copperhead_ Statement of Defendant and Counterclaim.pdf Binary files differnew file mode 100644 index 00000000..0a70d274 --- /dev/null +++ b/static/legal/Micay_ Copperhead_ Statement of Defendant and Counterclaim.pdf |
