X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=cubemap.config.sample;fp=cubemap.config.sample;h=b03ea65eae5f3ab6b6d428997d99ae7df58d2829;hb=4934a0983fee26765a3c1a5b6bf5834ba6e7e52c;hp=d15e861b6ab19341ea33cf70d151e4f1a0e5a647;hpb=38a2bb28fd8dcb5bb1e0cb56028936a35f20f503;p=cubemap diff --git a/cubemap.config.sample b/cubemap.config.sample index d15e861..b03ea65 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 contains “pong” 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 ping endpoint with the same URL, the stream takes +# precedence and the ping endpoint is silently ignored. +ping /ping allow_origin=*