Skip to content

Commit

Permalink
Merge pull request #122 from flikites/main
Browse files Browse the repository at this point in the history
Update custom.js - Add For Multiple Apps
  • Loading branch information
TheTrunk authored Nov 14, 2024
2 parents 7c98246 + 778e78d commit 567816f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/services/application/custom.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ function getCustomConfigs(specifications, isGsyncthingApp) {
if (specifications.name.toLowerCase().includes('trilium')) {
defaultConfig.ssl = true;
}

if (specifications.name.toLowerCase().includes('whooglessl')) {
defaultConfig.ssl = true;
}

if (isGsyncthingApp) {
defaultConfig.mode = 'tcp';
Expand Down Expand Up @@ -128,9 +132,11 @@ function getCustomConfigs(specifications, isGsyncthingApp) {
},
'3000.adguard.adguard': {
ssl: true,
mode: 'tcp',
},
'31443.nginx.ghostflux': {
ssl: true,
headers: ['http-request set-header X-Forwarded-For %[src]', 'http-request set-header X-Forwarded-Proto %[ssl]', 'http-request set-header X-Real-IP %[src]', 'http-request set-header Host %[hdr(host)]'],
},
};

Expand Down

0 comments on commit 567816f

Please sign in to comment.