File tree Expand file tree Collapse file tree 1 file changed +14
-10
lines changed
Expand file tree Collapse file tree 1 file changed +14
-10
lines changed Original file line number Diff line number Diff line change 8787 environmentFile = config . age . secrets . navidrome-lastfm . path ;
8888 settings = {
8989 MusicFolder = "/home/codebam/Downloads/Lidarr" ;
90+ BaseUrl = "https://codebam.tplinkdns.com" ;
9091 Address = "0.0.0.0" ;
9192 Port = 4533 ;
9293 ScanSchedule = "@every 1h" ;
9394 DefaultLanguage = "en" ;
9495 EnableExternalServices = true ;
9596 LastFM . Enabled = false ;
97+ EnableSharing = true ;
9698 } ;
9799 openFirewall = true ;
98100 } ;
134136 } ;
135137 } ;
136138 v2ray = {
137- enable = true ;
139+ enable = false ;
138140 config = {
139141 inbounds = [ {
140142 port = 10086 ;
152154 } ;
153155 nginx = {
154156 enable = true ;
157+ recommendedProxySettings = true ;
158+ recommendedTlsSettings = true ;
155159 virtualHosts . "codebam.tplinkdns.com" = {
156- listen = [ {
157- addr = "127.0.0.1" ;
158- port = 8080 ;
159- proxyProtocol = true ;
160- } ] ;
161- root = "/var/www/xray-site" ;
162- extraConfig = ''
163- index index.html ;
164- '' ;
160+ addSSL = true ;
161+ enableACME = true ;
162+ locations . "/" = {
163+ proxyPass = "http://127.0.0.1:4533" ;
164+ proxyWebsockets = true ;
165+ extraConfig = ''
166+ proxy_set_header X-Forwarded-Protocol $scheme;
167+ '' ;
168+ } ;
165169 } ;
166170 } ;
167171 xray = {
You can’t perform that action at this time.
0 commit comments