feat: import Landwelle v1.5.62 source
This commit is contained in:
1 parent
e521a98535
commit
ac1e072f4e
496 files changed
+74796
-34
No files matched your search
@@ -0,0 +1,45 @@
|
||||
# Landwelle API-Subdomain – KeyHelp „Anweisungen für HTTPS“
|
||||
# Stand: Landwelle v1.5.20
|
||||
#
|
||||
# Dieses Fragment vollständig in der Subdomain api.landwelle.de in das Feld
|
||||
# „Anweisungen für HTTPS“ einfügen. Bei HTTPS-Erzwingung reicht das HTTP-Feld
|
||||
# allein nicht aus.
|
||||
|
||||
<IfModule mod_proxy.c>
|
||||
ProxyRequests Off
|
||||
ProxyPreserveHost On
|
||||
|
||||
RewriteEngine On
|
||||
|
||||
# Neutrale API-Startseite.
|
||||
RewriteRule ^/?$ http://127.0.0.1:2200/api/info [P,L]
|
||||
|
||||
# Öffentliche Radio-App-API. Beide Varianten abdecken, damit /v1 und /v1/
|
||||
# zuverlässig funktionieren.
|
||||
ProxyPass /v1/ http://127.0.0.1:2200/v1/ connectiontimeout=5 timeout=45 retry=0
|
||||
ProxyPassReverse /v1/ http://127.0.0.1:2200/v1/
|
||||
ProxyPass /v1 http://127.0.0.1:2200/v1 connectiontimeout=5 timeout=45 retry=0
|
||||
ProxyPassReverse /v1 http://127.0.0.1:2200/v1
|
||||
|
||||
# Interne Landwelle-IT-App-API.
|
||||
ProxyPass /api/mobile/ http://127.0.0.1:2200/api/mobile/ connectiontimeout=5 timeout=45 retry=0
|
||||
ProxyPassReverse /api/mobile/ http://127.0.0.1:2200/api/mobile/
|
||||
ProxyPass /api/mobile http://127.0.0.1:2200/api/mobile connectiontimeout=5 timeout=45 retry=0
|
||||
ProxyPassReverse /api/mobile http://127.0.0.1:2200/api/mobile
|
||||
|
||||
# Externe Dienstchecks.
|
||||
ProxyPass /health http://127.0.0.1:2200/health connectiontimeout=5 timeout=10 retry=0
|
||||
ProxyPassReverse /health http://127.0.0.1:2200/health
|
||||
ProxyPass /ready http://127.0.0.1:2200/ready connectiontimeout=5 timeout=10 retry=0
|
||||
ProxyPassReverse /ready http://127.0.0.1:2200/ready
|
||||
</IfModule>
|
||||
|
||||
<IfModule mod_headers.c>
|
||||
RequestHeader set X-Forwarded-Proto "https"
|
||||
RequestHeader set X-Forwarded-Port "443"
|
||||
|
||||
Header always set X-Content-Type-Options "nosniff"
|
||||
Header always set Referrer-Policy "no-referrer"
|
||||
Header always set X-Frame-Options "DENY"
|
||||
Header always set X-Robots-Tag "noindex, nofollow, noarchive"
|
||||
</IfModule>
|
||||
Reference in new issue
Block a user