3 ms·
Correct me if I am wrong, but wouldn't the nginx directive `valid_referers` (http://wiki.nginx.org/HttpRefererModule#valid_referers http://wiki.nginx.org/HttpRe
by nodesocket 14y ago
Correct me if I am wrong, but wouldn't the nginx directive `valid_referers` (http://wiki.nginx.org/HttpRefererModule#valid_referers http://wiki.nginx.org/HttpRefererModule#valid_referers) prevent hot-linking?
- mastahyeti 14y agoIt would, but it would create other problems also. If I were to link to a raw.github.com URL on HN, it would be disallowed because the Referer header would be "incorrect".
- Amadou 14y agoNot to mention the fact that referrers are an optional part of the http spec, so requiring them is bad form to begin with.