-
Notifications
You must be signed in to change notification settings - Fork 310
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Apache #165
Comments
Soon after I wrote this, I figured it out. In case anyone else needs the "Magic" here it is:
|
Hi kg4iae,
but I just get a blank box. The page source looks like this -
Absolutely any ideas from anyone would be greatly appreciated. I've been banging my head against the wall about this for a few days now. |
Did you finally get this working? I'm trying to configure a reverse proxy in the same way and can't get it to work. Thanks! |
Sorry I didn't comment sooner. I just found the email notification from GitHub hidden in a folder I don't check.
Anyway, you have to use rewrite rules since Butterfly uses web sockets. Apache Proxy doesn't play well with sockets.
Copy the lines I shared above into a config file (butterfly.conf). Put it into your /etc/apache2/sites-available folder. Change ServerName, and if necessary butterfly port. I'm using the default 57575.
Run the a2ensite command to enable the new site.
Modify your DNS to include a CNAME record for something like 'shell.yoursite.com' -> 'www.yoursite.com'
You should be able to access the site by using:
http://shell.yoursite.com
I tried to get it work using a virtual path, like you did, but never got that working.
Good luck.
Jon
|
As of Apache 2.4.47, this can be simplified to:
|
Has anyone gotten this to work behind an Apache server. I've been working on it for days, and can't seem to get it to work.
Right now I get 400 errors on the WebSocket Connections. I can provide more information if anyone wants it.
My Apache config looks like:
ProxyPass / http://localhost:57575/
ProxyPassReverse / http://localhost:57575/
I've tried several things to get WS to play nice, but so far they have all failed.
The text was updated successfully, but these errors were encountered: