18 lines
414 B
Nginx Configuration File
18 lines
414 B
Nginx Configuration File
server {
|
|
listen 80;
|
|
server_name wpad wpad.lan wpad.kernel.rip;
|
|
|
|
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;
|
|
}
|
|
}
|