Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
Bump configuration version to 2023-02-26
Browse files Browse the repository at this point in the history
  • Loading branch information
AnYiEE committed Feb 26, 2023
1 parent 83f7d4d commit 348ea35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion conf/wiki-site-http.conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
add_header X-Content-Type-Options nosniff always;
add_header X-Frame-Options sameorigin always;
add_header X-Xss-Protection "1; mode=block" always;
add_header AnYi-Mirror-Site-Public "Config modified at 2023-02-16" always;
add_header AnYi-Mirror-Site-Public "Config modified at 2023-02-26" always;

if ($http_user_agent ~* "Bot|Spider|Barkrowler|BingPreview|Feedfetcher-Google|ia_archiver|libwww-perl|MBCrawler|Mediapartners-Google|MSNot-media|Python|Teoma|Yahoo! Slurp|^$") {
return 444;
Expand Down
2 changes: 1 addition & 1 deletion conf/wiki-site-ssl.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ssl_trusted_certificate /path/to/fullchain.crt;
add_header Strict-Transport-Security "max-age=31536000; includeSubdomains; preload" always;
add_header X-Content-Type-Options nosniff always;
add_header X-Xss-Protection "1; mode=block" always;
add_header AnYi-Mirror-Site-Public "Config modified at 2023-02-16" always;
add_header AnYi-Mirror-Site-Public "Config modified at 2023-02-26" always;

client_max_body_size 0;

Expand Down

0 comments on commit 348ea35

Please sign in to comment.