server { listen 80; 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 { root /var/www/wpad; types { } default_type application/x-ns-proxy-autoconfig; } # WPAD spec wants both /wpad.dat and /proxy.pac available location /proxy.pac { alias /var/www/wpad/wpad.dat; types { } default_type application/x-ns-proxy-autoconfig; } }