This repository has no description
458 B
17 lines
1{ config, pkgs, ... }:
2{
3 services.nginx.virtualHosts."radio.lassul.us" = {
4 enableACME = true;
5 addSSL = true;
6 locations."/" = {
7 # recommendedProxySettings = true;
8 proxyWebsockets = true;
9 proxyPass = "http://radio.r";
10 extraConfig = ''
11 proxy_set_header Host radio.r;
12 # get source ip for weather reports
13 proxy_set_header user-agent "$http_user_agent; client-ip=$remote_addr";
14 '';
15 };
16 };
17}