mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-11 12:40:44 +03:00
123
This commit is contained in:
@@ -56,9 +56,19 @@ in
|
|||||||
enableACME = true;
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
kTLS = true;
|
kTLS = true;
|
||||||
locations."/" = {
|
locations = {
|
||||||
proxyPass = "http://${server}:8000";
|
"/" = {
|
||||||
proxyWebsockets = true;
|
proxyPass = "http://${server}:8000"; # API и coauthoring
|
||||||
|
proxyWebsockets = true;
|
||||||
|
};
|
||||||
|
"/web-apps/" = {
|
||||||
|
proxyPass = "http://${server}:8000/web-apps/"; # фронтенд
|
||||||
|
proxyWebsockets = true;
|
||||||
|
};
|
||||||
|
"/coauthoring/" = {
|
||||||
|
proxyPass = "http://${server}:8000/coauthoring/"; # coauthoring WS
|
||||||
|
proxyWebsockets = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
client_max_body_size 5G;
|
client_max_body_size 5G;
|
||||||
|
|||||||
Reference in New Issue
Block a user