summaryrefslogtreecommitdiffstats
path: root/files/etc/nginx
Commit message (Collapse)AuthorAgeFiles
* webmap-cgi: Enable buffer on the reverse proxy (default).HEADmasterGuilhem Moulin10 days1
| | | | | | | We no longer need to stream since we don't serve full features geometries anymore, only their properties. Cf. 0fe67edd568a53abc1d7514b14d1a8a1d2af3e0e in tools.
* Deploy the webmap CGI.Guilhem Moulin12 days1
| | | | | We also lower tile expiration time from 8h to 30m to reduce the race condition where the database an the on-disk tiles are not in sync.
* Serve empty error pages as text/plain not application/x-empty.Guilhem Moulin14 days1
| | | | | | | | | | | | | | | | | So Firefox and Chromium serve a blank page resp. a generic ”HTTP ERROR 404” page. With application/x-empty Chromium serves the following This site can’t be reached The webpage at https://example.net/… might be temporarily down or it may have moved permanently to a new web address. ERR_INVALID_RESPONSE which can be confusing (even though only OpenLayer should consume those error pages). This reverts commit 1843371641f5b3898893df91094412eaeedc8807.
* HTTPd: Use `Content-Type: application/x-protobuf` for .pbf tiles.Guilhem Moulin2025-05-221
| | | | | | | | application/protobuf and application/vnd.google.protobuf might be valid types too, cf. https://stackoverflow.com/questions/30505408/what-is-the-correct-protobuf-content-type But we use application/x-protobuf since it appears more common. That's what cloudflare lists at least: https://developers.cloudflare.com/speed/optimization/content/compression/
* HTTPd: Use `Content-Type: application/x-empty` for 404 error pages.Guilhem Moulin2025-05-211
| | | | | This matches PHP's finfo_file() behavior for empty files, cf. https://stackoverflow.com/questions/24015038/why-does-php-file-info-return-inode-x-empty-for-empty-text-files
* Adjust nginx config to serve compressed tiles.Guilhem Moulin2024-10-201
|
* Copy webmap-publish.Guilhem Moulin2024-09-251
| | | | | | | | We also replace persistent/shared RuntimeDirectory settings with directories defined as tmpfiles.d(5) entries. This gives more control over access control. We also change static compression from gzip to brotli on the HTTPd.
* tasks/httpd.yml: Create /etc/nginx/sites-enabled/webmap as a symlink.Guilhem Moulin2024-06-011
|
* HTTPd: Set vhost karta.klimatanalysnorr.se.Guilhem Moulin2024-02-151
|
* HTTPd: Add security and cache headers.Guilhem Moulin2024-01-311
|
* Install nginx.Guilhem Moulin2024-01-312