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