I am new to pac files. I am not sure I made it working.
I installed an nginx on a virtual machine. and exposed a pac file to url. (I can easily download pac file by puting url in browser as proof it is working).
I then set my computer proxy settings as explained in many guides. I ticked the automatic proxy settings and I then put pac file url.
After that I think the file is not being loaded. puting : "chrome://net-internals/#proxy" gives an empty list while it should show the pac file. Plus the net seems to work as the pac is not even there.
For further information, since I am new to pac file, I am just testing a simple pac file which redirect ALL traffic to youtube.com.
can anyone help me out? Thanks
function FindProxyForURL(url, host) {
return "youtube.com";