mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
tweak nginx conf files
This commit is contained in:
parent
2ce51f634b
commit
0cc915b7d1
4 changed files with 3 additions and 4 deletions
|
|
@ -1,4 +1,3 @@
|
|||
# https://github.com/collinbarrett/FilterLists
|
||||
server {
|
||||
listen 80 default_server;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
# https://github.com/collinbarrett/FilterLists
|
||||
server {
|
||||
listen 443 default_server ssl http2;
|
||||
server_name filterlists.com;
|
||||
|
|
|
|||
|
|
@ -3,4 +3,4 @@ server_tokens off;
|
|||
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 Referrer-Policy "no-referrer" always;
|
||||
add_header Referrer-Policy "no-referrer" always;
|
||||
|
|
@ -12,7 +12,8 @@ ssl_dhparam /etc/nginx/cert/dhparam.pem;
|
|||
|
||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload";
|
||||
|
||||
|
||||
# https://support.cloudflare.com/hc/en-us/articles/204899617-Authenticated-Origin-Pulls
|
||||
|
||||
ssl_client_certificate /etc/nginx/cert/cloudflare.crt;
|
||||
ssl_verify_client on;
|
||||
ssl_verify_client on;
|
||||
Loading…
Reference in a new issue