[Tile-serving] [openstreetmap/mod_tile] Make `/status` and `/dirty` URLs controlable with apache conf (& default disable) (PR #274)
Amanda
notifications at github.com
Thu Apr 7 13:51:39 UTC 2022
This patch makes the `/status` & `/dirty` URL requests diabled by default, and allows one to turn it on or off with `ModTileStatusURL On`/`ModTileDirtyURL On`. It implements #272. I am not opposed to “default on” (which is the current behaviour)
I am very rust with C, so I highly encourage anyone to look at this and tell me if I'm doing something very wrong. I am in the early stages of testing this patch in production, so I suggest not merging it today.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/mod_tile/pull/274
-- Commit Summary --
* Allow the …/status URL to be turned on or off (default of on remains)
* Allow the …/dirty URL to be turned on or off (default of on remains)
* Make …/dirty & …/status disabled by default.
-- File Changes --
M etc/apache2/renderd-example-map.conf (10)
M includes/mod_tile.h (2)
M src/mod_tile.c (43)
-- Patch Links --
https://github.com/openstreetmap/mod_tile/pull/274.patch
https://github.com/openstreetmap/mod_tile/pull/274.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/mod_tile/pull/274
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/mod_tile/pull/274 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20220407/2311c9a1/attachment.htm>
More information about the Tile-serving
mailing list