diff options
| author | Yegor Timoshenko <yegortimoshenko@riseup.net> | 2018-10-13 21:45:25 +0000 |
|---|---|---|
| committer | aszlig <aszlig@nix.build> | 2019-04-18 09:40:06 +0200 |
| commit | 135d54f5358aaf2c71bea0a1ce3cdaaadb7a5222 (patch) | |
| tree | 4fa854c9176a5ab3cdf08bebe15a9ac49c1367d7 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | b050097edfc54cf7c2b5bd655b4edfdfb2e98757 (diff) | |
nginx: if root is in Nix store, use path's hash as ETag
Resolves #25485. Usage example:
$ realpath /var/www
/nix/store/wnrhnnpdj3x50j5xz38zp1qxs1ygwccw-site
$ curl --head localhost
HTTP/1.1 200 OK
Server: nginx
Date: Fri, 28 Sep 2018 06:09:25 GMT
Content-Type: text/html
Content-Length: 50
Last-Modified: Thu, 01 Jan 1970 00:00:01 GMT
Connection: keep-alive
ETag: "wnrhnnpdj3x50j5xz38zp1qxs1ygwccw"
Accept-Ranges: bytes
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
