1
0

Add PodcastIndex helipad (#567)

This commit is contained in:
Andrew Camilleri
2022-01-12 16:50:17 +01:00
committed by GitHub
parent 4dcbeaf193
commit 36619b3f98
4 changed files with 70 additions and 0 deletions

View File

@@ -107,6 +107,31 @@
sub_filter 'href="../' 'href="/bluewallet_lndhub_app/';
sub_filter 'src="/' 'src="/bluewallet_lndhub_app/';
sub_filter_once off;
}
{{ end }}
{{ if (eq $serviceName "helipad") }}
location /helipad/ {
proxy_set_header Connection "";
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-Host $host:443;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-Port 443;
proxy_set_header X-Forwarded-Proto https;
sub_filter_once off;
sub_filter_types *;
sub_filter 'src="/' 'src="/helipad/';
sub_filter 'href="/' 'href="/helipad/';
sub_filter '/image' '/helipad/image';
sub_filter '/pew' '/helipad/pew';
sub_filter '/boosts' '/helipad/boosts';
proxy_pass http://helipad:2112/;
}
{{ end }}