wpad.dat per no-cache auslliefern
This commit is contained in:
@@ -2,6 +2,11 @@ server {
|
|||||||
listen 80;
|
listen 80;
|
||||||
server_name wpad wpad.lan wpad.kernel.rip;
|
server_name wpad wpad.lan wpad.kernel.rip;
|
||||||
|
|
||||||
|
# PAC frisch halten - Browser sollen bei jedem Hit nachschauen
|
||||||
|
add_header Cache-Control "no-cache, must-revalidate" always;
|
||||||
|
add_header Pragma "no-cache" always;
|
||||||
|
expires 0;
|
||||||
|
|
||||||
location /wpad.dat {
|
location /wpad.dat {
|
||||||
root /var/www/wpad;
|
root /var/www/wpad;
|
||||||
types { }
|
types { }
|
||||||
@@ -15,3 +20,4 @@ server {
|
|||||||
default_type application/x-ns-proxy-autoconfig;
|
default_type application/x-ns-proxy-autoconfig;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Reference in New Issue
Block a user