!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

903 Members
Declaratively manage your switching, routing, wireless, tunneling and more.263 Servers

Load older messages


SenderMessageTime
14 Jul 2025
@n4ch723hr3r:nope.chatn4ch723hr3rthe best example domain is example.com or example.org (its an official example domain)14:42:14
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zonetoo much typing14:42:27
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneexample.com is more chars14:42:33
@n4ch723hr3r:nope.chatn4ch723hr3rit shoudl also work in public if you dont mind exposing your icecast14:42:40
@n4ch723hr3r:nope.chatn4ch723hr3rlmao14:42:45
@saiko:knifepoint.net@saiko:knifepoint.netcan you set it up so that port 443 goes through nginx, and all the links to the streams on the page (iirc it shows you a directory of available streams right?) have an absolute url with another port on the same domain, which is the raw icecast service14:45:35
@saiko:knifepoint.net@saiko:knifepoint.netor does it only give you relative urls14:45:40
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zone For some reason, the streams on the page go to icecast.foo.com and not icecast.foo.com:8000 14:46:50
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zone whereas the administration page shows the listenurl correctly and the streams go to `icecast.foo.com:800/stream 14:47:03
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zone * whereas the administration page shows the listenurl correctly and the streams go to `icecast.foo.com:800/stream` 14:47:05
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zone * whereas the administration page shows the listenurl correctly and the streams go to icecast.foo.com:8000/stream 14:47:11
@n4ch723hr3r:nope.chatn4ch723hr3rprobably some config issue14:47:17
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneCould be yeah14:47:24
@saiko:knifepoint.net@saiko:knifepoint.netyou might need to modify the proxy port header14:47:27
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneI've been looking around for examples14:47:31
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneI think I'll make a minimal icecast example if I ever figure this14:47:38
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zone* I think I'll make a minimal icecast example if I ever figure this ollut14:47:41
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zone* I think I'll make a minimal icecast example if I ever figure this out14:47:43
@saiko:knifepoint.net@saiko:knifepoint.netit probably reacts to one of these https://github.com/NixOS/nixpkgs/blob/nixos-25.05/nixos/modules/services/web-servers/nginx/default.nix#L10714:48:53
@saiko:knifepoint.net@saiko:knifepoint.net(Host or X-Forwarded-Host)14:49:27
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneAnother thing is that icecast is http 1.0 afaik14:49:58
@n4ch723hr3r:nope.chatn4ch723hr3ralso: arent those proprietary extensions to icecast against its license (GPLv2 or later)14:50:05
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zonewe enable http2 on all nginx virtualhosts by default14:50:14
@zhaofeng:zhaofeng.liZhaofeng Li
In reply to @matthewcroughan:defenestrate.it
https://icecast.foo.com/stream doesn't work via a nginx proxy, because the stream is not http
But it has to be http, right? Otherwise it won't work for the web client
14:50:14
@n4ch723hr3r:nope.chatn4ch723hr3ri looked up http/3 just now bcs i wondered that as well and found a proprietary fork/wrapper14:50:31
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneIt isn't, and I don't know why it works14:50:36
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneI just know that when I proxy it, the client (nginx in that case) gets 502 bad gateway because..14:50:55
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneThis is the error you get14:51:11
@n4ch723hr3r:nope.chatn4ch723hr3ralso icecast development seems kind of slow14:54:15
@n4ch723hr3r:nope.chatn4ch723hr3rimage.png
Download image.png
14:54:26

Show newer messages


Back to Room ListRoom Version: 6