Skip to content

Commit b59fc80

Browse files
committed
chore(torrserver): give up for now
1 parent 7737063 commit b59fc80

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

modules/server/misc/torrserver/default.nix

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -96,13 +96,7 @@ in {
9696

9797
services.nginx.virtualHosts."ts.${domain}" = mkIf (webIsSupported && cfg.exposeWeb) {
9898
locations = {
99-
"/" = {
100-
proxyPass = "http://127.0.0.1:${toString cfg.port}";
101-
102-
extraConfig = ''
103-
add_header 'Access-Control-Allow-Origin' 'http://lampa.mx';
104-
'';
105-
};
99+
"/".proxyPass = "http://127.0.0.1:${toString cfg.port}";
106100
};
107101

108102
enableACME = true;

0 commit comments

Comments
 (0)