Unix sockets :3
This commit is contained in:
parent
ccc0d8f184
commit
f1737ab050
|
@ -2,7 +2,7 @@
|
||||||
enableACME = false;
|
enableACME = false;
|
||||||
addSSL = false;
|
addSSL = false;
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
proxyPass = "http://localhost:8008";
|
proxyPass = "http://unix:/run/matrix-synapse/main-http.sock";
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
if ($request_method = 'OPTIONS') {
|
if ($request_method = 'OPTIONS') {
|
||||||
more_set_headers 'Access-Control-Allow-Origin: *';
|
more_set_headers 'Access-Control-Allow-Origin: *';
|
||||||
|
@ -27,7 +27,6 @@
|
||||||
return 200 '${
|
return 200 '${
|
||||||
builtins.toJSON {
|
builtins.toJSON {
|
||||||
"m.homeserver".base_url = "https://matrix.litenet.tel";
|
"m.homeserver".base_url = "https://matrix.litenet.tel";
|
||||||
"m.identity_server".base_url = "https://matrix.litenet.tel";
|
|
||||||
}
|
}
|
||||||
}';
|
}';
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue