Skip to content

Follow x-forwarded-proto header for stream URL generation - #82

Open
frozen-sky wants to merge 1 commit into
xiph:masterfrom
frozen-sky:master
Open

Follow x-forwarded-proto header for stream URL generation#82
frozen-sky wants to merge 1 commit into
xiph:masterfrom
frozen-sky:master

Conversation

@frozen-sky

Copy link
Copy Markdown

When running behind nginx or other proxy, the communication between the proxy and icecast is usually http / non-tls. As a result icecast generate m3u and other stream URLs with http as protocol per default. This patch checks if the x-forwarded-proto is set, and if so, follow that when generating the return URL.

…ol / honour the x-forwarded-proto header. This is fixed in this patch.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant