SharpY
Member
I could use assistance transferring my bots web-interface from my virtual server's IP:8087 to my domain
I am trying to host the interface at https://bot.FullCircleGaming.org (so an SSL connection)
Any help understanding the problem, let alone fixing it, would be much appreciated.
I tried to include as much information below that may help find the issue, if there is anything else I could provide, let me know.
Thank you in advance, and hope this can help other people as well.
Possible issues that I have thought of/have been mentioned to me:
- Conflict with another apache sites-enabled (such as default)
- Conflict with permissions to show information in a folder that is not /var/www/*
- Conflict with my SSL configuration
I do have a DNS "A" record pointing bot to my IP
I am using Apache2
I do use the WordPress plugin Really Simple SSL
My SSL is provided by CloudFlare
Virtual Host Config File
Reason 3 lines are commented out:
RewriteEngine seems to cause a redirect loop as I use Cloud Flare to point http -> https
SSLCertificateChainFile because I do not have/cannot find mine
SinusBot Config File
Apache Error Log
Error mentions SSL, although I do not full understand the error, using the non-SSL virtual host option results in a Internal Server Error page instead
Guides/Resources I've referenced:
https://wiki.sinusbot.com/en:guides:installation:reverse-proxy:apache2
https://wiki.sinusbot.com/en:guides:installation:reverse-proxy:common-adaptations
https://wiki.sinusbot.com/en:guides:other:configuration
I am trying to host the interface at https://bot.FullCircleGaming.org (so an SSL connection)
Any help understanding the problem, let alone fixing it, would be much appreciated.
I tried to include as much information below that may help find the issue, if there is anything else I could provide, let me know.
Thank you in advance, and hope this can help other people as well.
Possible issues that I have thought of/have been mentioned to me:
- Conflict with another apache sites-enabled (such as default)
- Conflict with permissions to show information in a folder that is not /var/www/*
- Conflict with my SSL configuration
I do have a DNS "A" record pointing bot to my IP
I am using Apache2
I do use the WordPress plugin Really Simple SSL
My SSL is provided by CloudFlare
Virtual Host Config File
PHP:
<VirtualHost *:80>
ServerName bot.FullCircleGaming.org
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.FullCircleGaming.org
SSLEngine On
SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem
SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key
# SSLCertificateChainFile /opt/ssl/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>
RewriteEngine seems to cause a redirect loop as I use Cloud Flare to point http -> https
SSLCertificateChainFile because I do not have/cannot find mine
SinusBot Config File
PHP:
TS3Path = "/opt/sinusbot/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64"
ListenHost = "127.0.0.1"
DataDir = "/opt/sinusbot/data/"
ListenPort = 8087
LocalPlayback = false
EnableLocalFS = false
MaxBulkOperations = 300
LogLevel = 3
EnableProfiler = false
YoutubeDLPath = ""
EnableDebugConsole = false
UploadLimit = 83886080
RunAsUser = 0
RunAsGroup = 0
InstanceActionLimit = 6
UseSSL = false
SSLKeyFile = ""
SSLCertFile = ""
Hostname = "FullCircleGaming.org"
HostnameMask = ""
SampleInterval = 60
StartVNC = false
EnableWebStream = false
LogFile = ""
LicenseKey = "OMITTED"
IsProxied = true
DenyStreamURLs = []
Pragma = 0
Apache Error Log
PHP:
root@FCG:~# tail -f /var/log/apache2/error.log
[Sun May 20 06:25:05.908557 2018] [ssl:warn] [pid 889] AH01909: bot.FullCircleGaming.org:443:0 server certificate does NOT include an ID which matches the server name
Guides/Resources I've referenced:
https://wiki.sinusbot.com/en:guides:installation:reverse-proxy:apache2
https://wiki.sinusbot.com/en:guides:installation:reverse-proxy:common-adaptations
https://wiki.sinusbot.com/en:guides:other:configuration
Last edited: