forked from Zynh0722/permafrost
include nyazoom nginx config
This commit is contained in:
parent
7f6594fce5
commit
7e5e0240aa
1 changed files with 9 additions and 1 deletions
|
@ -23,8 +23,16 @@ in
|
|||
|
||||
permafrost.nginx.enable = lib.mkDefault true;
|
||||
services.nginx.virtualHosts."nyazoom.zynh.me" = {
|
||||
addSSL = true;
|
||||
serverName = "nyazoom.zynh.me";
|
||||
locations."/".proxyPass = "http://localhost:3000";
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost:3000";
|
||||
extraConfig = /* nginx */ ''
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Forwarded-For $remote_addr;
|
||||
client_max_body_size 11G;
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue