| Commit message (Collapse) | Author | Age | Files |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is needed for systemd/journal.py.
--- Logging error ---
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/systemd/journal.py", line 617, in emit
self.send(msg,
File "/usr/lib/python3/dist-packages/systemd/journal.py", line 466, in send
return sendv(*args)
^^^^^^^^^^^^
OSError: [Errno 97] Address family not supported by protocol
Call stack:
File "/usr/local/bin/webmap-import", line 814, in <module>
main()
File "/usr/local/bin/webmap-import", line 679, in main
processRaster(layername, layerdef,
File "/usr/local/share/webmap/export_raster.py", line 84, in processRaster
logging.info('Output directory "%s" is up to date, skipping', str(dst))
File "/usr/lib/python3.11/logging/__init__.py", line 2148, in info
root.info(msg, *args, **kwargs)
File "/usr/lib/python3.11/logging/__init__.py", line 1489, in info
self._log(INFO, msg, args, **kwargs)
File "/usr/lib/python3.11/logging/__init__.py", line 1634, in _log
self.handle(record)
File "/usr/lib/python3.11/logging/__init__.py", line 1644, in handle
self.callHandlers(record)
File "/usr/lib/python3.11/logging/__init__.py", line 1706, in callHandlers
hdlr.handle(record)
File "/usr/lib/python3.11/logging/__init__.py", line 978, in handle
self.emit(record)
File "/usr/lib/python3/dist-packages/systemd/journal.py", line 627, in emit
self.handleError(record)
Message: 'Output directory "%s" is up to date, skipping'
Arguments: ('/var/www/webmap/raster/kskog',)
|
|
|
|
| |
Cf. systemd.exec(5).
|
| |
|
| |
|
|
|
|
| |
(We don't want to enable it on font files.)
|
|
|
|
| |
For /index.html and /data/*.json.
|
|
|
|
| |
It appears to be required for GeoTIFF/WebGL on Chrome.
|
| |
|
| |
|
|
|
|
|
|
|
| |
We no longer need to stream since we don't serve full features
geometries anymore, only their properties.
Cf. 0fe67edd568a53abc1d7514b14d1a8a1d2af3e0e in tools.
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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/
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
|
|
|
| |
Cf. https://wiki.postgresql.org/wiki/Tuning_Your_PostgreSQL_Server
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
It will be shared between _webmap-* system users, which will be handy
to share lock files.
|
| |
|
|
|
|
|
| |
This ensures the unit won't be skipped during DST transition, see
`systemd-analyze calendar --iterations=365 "*-*-* 02:00:00"`.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Link-Local Multicast Name Resolution is only useful in LANs.
|
| |
|
|
|