• If you need help or want to discuss things, you now can also join us on our Discord Server!
  • A first preview of the unlimited version of SinusBot can be found in the Upcoming Changes thread. A version for Windows will follow, but we don't have a release date, yet.

Solved Reverse Proxy leitet auf https://127.0.0.1 weiter

Status
Not open for further replies.
Betriebssystem: Windows / Linux
SinusBot Version: 0.9.x
TS3 Version: 3.x.x

Problembeschreibung:

Hallo, ich habe nach dem Reverse Proxy Wiki-Eintrag diesen eingerichtet, jedoch, wenn ich auf bot.meinedomain.de gehe, komme ich auf https://127.0.0.1. Mein Subdomain hab ich als A-Record auf die Server-IP umgeleitet. Was habe ich falsch gemacht?

Liebe Grüße
 

flyth

is reticulating splines
Staff member
Developer
Contributor
Poste doch bitte mal deine Configs.
 
sinusbot.conf
<VirtualHost *:80>
ServerName bot.meinedomain.de

ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined

RewriteEngine on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

</VirtualHost>

<VirtualHost *:443>
ServerName bot.meinedomain.de

SSLEngine On
SSLCertificateFile /etc/letsencrypt/live/meinedomain.de/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/meinedomain.de/privkey.pem
SSLCertificateChainFile /etc/letsencrypt/live/meinedomain.de/fullchain.pem

ProxyPass / http://127.0.0.1:8087/
ProxyPassReverse / http://127.0.0.1:8087/

ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined

</VirtualHost>

config.ini

S3Path = "/opt/ts3soundboard/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64"
ListenHost = "127.0.0.1"
DataDir = "/opt/ts3soundboard/data/"
ListenPort = 8087
LocalPlayback = false
EnableLocalFS = false
MaxBulkOperations = 300
LogLevel = 3
EnableProfiler = false
YoutubeDLPath = "/usr/local/bin/youtube-dl"
EnableDebugConsole = false
UploadLimit = 83886080
RunAsUser = 0
RunAsGroup = 0
InstanceActionLimit = 6
UseSSL = false
SSLKeyFile = ""
SSLCertFile = ""
Hostname = ""
SampleInterval = 60
StartVNC = false
EnableWebStream = false
LogFile = ""
LicenseKey = "(entfernt)"
IsProxied = true
DenyStreamURLs = []
Pragma = 0
 

flyth

is reticulating splines
Staff member
Developer
Contributor
Klappt es, wenn du direkt https für die URL nutzt? Vermutlich ist die HTTP_HOST variable dann falsch gesetzt. Du könntest dort mal direkt die Domain eintragen.
 
Status
Not open for further replies.
Top