summary refs log tree commit diff
path: root/host/Rory-nginx/services/nginx/thearcanebrony.net/awooradio.nix
blob: f13cb0c1ef8ca828e8ebf7a1d971ac42debbba5d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
{
  enableACME = true;
  addSSL = true;
  locations = {
    "/" = {
      extraConfig = ''
        rewrite ^/api/(.*) /$1 break;
        return 200 $request_uri;'';
      proxyPass = "http://localhost:4998";
    };
  };
}