This commit is contained in:
@@ -99,7 +99,7 @@ in
|
||||
# '';
|
||||
# serviceConfig.Type = "oneshot";
|
||||
# unitConfig.ConditionPathExists = "!${livekitKeyFile}";
|
||||
};
|
||||
# };
|
||||
|
||||
networking.firewall = {
|
||||
allowedTCPPorts = [ 7880 7881 5349 ];
|
||||
|
||||
@@ -391,36 +391,36 @@ in
|
||||
};
|
||||
};
|
||||
|
||||
"matrixrtc.atri.dad" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
# "matrixrtc.atri.dad" = {
|
||||
# enableACME = true;
|
||||
# forceSSL = true;
|
||||
|
||||
# lk-jwt-service (handles its own CORS)
|
||||
locations."~ ^(/sfu/get|/healthz)" = {
|
||||
priority = 400;
|
||||
proxyPass = "http://[::1]:${toString config.services.lk-jwt-service.port}";
|
||||
extraConfig = ''
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
'';
|
||||
};
|
||||
# # lk-jwt-service (handles its own CORS)
|
||||
# locations."~ ^(/sfu/get|/healthz)" = {
|
||||
# priority = 400;
|
||||
# proxyPass = "http://[::1]:${toString config.services.lk-jwt-service.port}";
|
||||
# extraConfig = ''
|
||||
# proxy_set_header Host $host;
|
||||
# proxy_set_header X-Real-IP $remote_addr;
|
||||
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
# proxy_set_header X-Forwarded-Proto $scheme;
|
||||
# '';
|
||||
# };
|
||||
|
||||
# livekit
|
||||
locations."/" = {
|
||||
proxyPass = "http://[::1]:${toString config.services.livekit.settings.port}";
|
||||
proxyWebsockets = true;
|
||||
extraConfig = ''
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_read_timeout 300;
|
||||
proxy_send_timeout 300;
|
||||
'';
|
||||
};
|
||||
};
|
||||
# # livekit
|
||||
# locations."/" = {
|
||||
# proxyPass = "http://[::1]:${toString config.services.livekit.settings.port}";
|
||||
# proxyWebsockets = true;
|
||||
# extraConfig = ''
|
||||
# proxy_set_header Host $host;
|
||||
# proxy_set_header X-Real-IP $remote_addr;
|
||||
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
# proxy_set_header X-Forwarded-Proto $scheme;
|
||||
# proxy_read_timeout 300;
|
||||
# proxy_send_timeout 300;
|
||||
# '';
|
||||
# };
|
||||
# };
|
||||
|
||||
"atash.dev" = {
|
||||
enableACME = true;
|
||||
|
||||
Reference in New Issue
Block a user