File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 11#! /bin/sh
22set -e
3+
4+ echo " [entrypoint] loading privoxy environment..." ;
5+
36privman --init
47
58if $ADBLOCK_NGINX_ENABLED && [ -n " $ADBLOCK_URLS " ]; then
9+ print " [entrypoint] launching nginx..."
610 envsubst ' $NGINX_SERVER_NAME $NGINX_PORT $NGINX_PORT_SSL' < /etc/nginx/nginx.conf.template > /etc/nginx/nginx.conf
711 nginx
812fi
Original file line number Diff line number Diff line change 7474 default_type text/css;
7575 add_header X-Content-Type-Options nosniff;
7676 add_header Cache-Control "public, max-age=31536000, immutable";
77+ add_header Access-Control-Allow-Origin "*" always;
7778 try_files $uri $1;
7879 }
7980
8283 default_type text/css;
8384 add_header X-Content-Type-Options nosniff;
8485 add_header Cache-Control "public, max-age=31536000, immutable";
86+ add_header Access-Control-Allow-Origin "*" always;
8587 rewrite ^/([^/]*?)\.([^/.]+)(?:\.([^/.]+))?(?:\.([^/.]+))?(?:\.([^/.]+))?(?:\.([^/.]+))?(?:\.([^/.]+))?(?:\.([^/.]+))?(?:\.([^/.]+))?/ab2p.css$ /$9/$8/$7/$6/$5/$4/$3/$2/$1/ab2p.css last;
8688 }
8789
9193 default_type text/css;
9294 add_header X-Content-Type-Options nosniff;
9395 add_header Cache-Control "public, max-age=31536000, immutable";
96+ add_header Access-Control-Allow-Origin "*" always;
9497 try_files $uri $1ab2p.css;
9598 }
9699 }
You can’t perform that action at this time.
0 commit comments