blob: af52ec8d4dbfe98d9b5707a0f88e7623c7c910e4 (
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";
};
};
}
|