X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=cubemap.config.sample;h=35bfe5ea221a1b69f97324807a2d33b7f176a275;hp=d15e861b6ab19341ea33cf70d151e4f1a0e5a647;hb=68b85737b49ff00ab7c16defcf6e3dfab45ca0e3;hpb=0148c673073be3c7dd7a8252f67cb8e6095a434e diff --git a/cubemap.config.sample b/cubemap.config.sample index d15e861..35bfe5e 100644 --- a/cubemap.config.sample +++ b/cubemap.config.sample @@ -91,3 +91,13 @@ udpstream 193.35.52.50:5001 src=http://pannekake.samfundet.no:9094/frikanalen.ts # IPv4 multicast output, to the given group. You can explicitly set the TTL # and/or multicast output interface, if the defaults do not suit you. udpstream 233.252.0.1:5002 src=http://pannekake.samfundet.no:9094/frikanalen.ts.metacube ttl=32 multicast_output_interface=eth1 + +# A type of HTTP resource that is not a stream, but rather just a very simple +# document that a HTTP 204 response and nothing else. allow_origin= is optional; +# if it is set, the response will contain an Access-Control-Allow-Origin header +# with the given value, allowing the ping response to be read (and +# differentiated from an error) from a remote domain using XHR. +# +# If you have a stream and a gen204 endpoint with the same URL, the stream takes +# precedence and the ping endpoint is silently ignored. +gen204 /ping allow_origin=*