• 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.

Nginx Reverse Proxy lädt ewig

KingTerry

New Member
Hallo liebe Sinusbot community,

ich habe die reverse Proxy Einstellungen so wie in der Dokumentation eingerichtet. Allerdings erscheint nur die Meldung "Sinusbot loading, please wait" mit einem schwarzen Punkt links am Rand, wenn ich versuche über die Subdomain drauf zuzugreifen.

Meine Nginx Config sieht so aus:

server {
listen 80;
listen [::]:80;

# Set your domain here:
server_name sinusbot.w1337.de;

access_log /var/log/nginx/sinusbot.access.log;
error_log /var/log/nginx/sinusbot.error.log;

return 301 https://$host$request_uri;
}

server {
listen 443 ssl http2;
listen [::]:443 ssl http2;

# Set your domain here:
server_name sinusbot.w1337.de;

client_max_body_size 200M;

access_log /var/log/nginx/sinusbot.access.log;
error_log /var/log/nginx/sinusbot.error.log;

# Set the path to your ssl cert here:
ssl on;
ssl_certificate /etc/letsencrypt/live/sinusbot.w1337.de/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/sinusbot.w1337.de/privkey.pem;

location / {
proxy_pass http://10.0.1.12:8087;
proxy_http_version 1.1;
proxy_set_header X-Forwarded-For $remote_addr;

# pass upgrade/connection headers for websockets
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
}
}


Die Sinusbot Config sieht so aus:

TS3Path = "/opt/sinusbot/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64"
ListenHost = "0.0.0.0"
DataDir = "/opt/sinusbot/data/"
ListenPort = 8087
LocalPlayback = false
EnableLocalFS = false
MaxBulkOperations = 300
LogLevel = 3
EnableProfiler = false
YoutubeDLPath = "/opt/sinusbot/youtube-dl"
EnableDebugConsole = false
EnableInternalCommands = false
AllowStreamPush = false
UploadLimit = 83886080
RunAsUser = 0
RunAsGroup = 0
ExternalFileBase = ""
InstanceActionLimit = 6
UseSSL = false
SSLKeyFile = ""
SSLCertFile = ""
Hostname = ""
HostnameMask = ""
SampleInterval = 60
StartVNC = false
EnableWebStream = false
LogFile = ""
LicenseKey = "8/OpPBJ1lefkChT4nUpXT6tMfqebtRtdswFeNYnB1AU="
IsProxied = true
DenyStreamURLs = []
Pragma = 0
UserAgent = ""

[YoutubeDL]
BufferSize = 524288
MaxDownloadSize = 419430400
MaxDownloadRate = 104857600
MaxSimultaneousChunkDownloads = 6
CacheStreamed = false
TimeoutSingleDownloader = 0
TimeoutMultiDownloader = 0
ChunkSize = 3145728

[TS3]
AvatarMaxWidth = 0
AvatarMaxHeight = 0
AllowGIF = false

[StreamRewrites]

[Scripts]
Debug = false
AllowReload = false
EnableTimer = false
DisableLegacyEvents = false
DevMode = false
ScriptTimeout = 5

[Themes]
Default = ""

[SpeechRecognition]
Enable = false

[FFmpeg]
UserAgent = "SinusBot (1.0.0-beta.16-ba60e37)"
WaitTime = 0

[DAV]
Enable = false



Ich bin über jede Hilfe sehr dankbar
 
Moin!

Code:
proxy_pass http://10.0.1.12:8087;
....
ListenHost = "0.0.0.0"

Laufen Reverse Proxy und Bot auf verschiedenen Servern? Ansonsten würde ich empfehlen Sinusbot nur auf localhost hören zu lassen und auch den Proxypass auf localhost zu setzen.
 
Top