Comments (3)
Awesome - thank you.
Here is what I came up with that works for apache after some googling...
<VirtualHost 10.0.69.116:80>
ServerName homebridge.wiesalani.com
ServerAdmin [email protected]
DocumentRoot /var/www/html
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
<Location />
ProxyPass http://localhost:8081/
ProxyPassReverse http://localhost:8081/
RewriteEngine on
RewriteCond %{HTTP:UPGRADE} ^WebSocket$ [NC]
RewriteCond %{HTTP:CONNECTION} Upgrade$ [NC]
RewriteRule .* ws://localhost:8081%{REQUEST_URI} [P]
</Location>
</VirtualHost>
from homebridge-config-ui-x.
Hi @theOrakle,
You'll need to add support for WebSockets to your apache vhost config. I'm not sure how to do this on apache, but for nginx I posted the config here, #35 (comment), which you might be able to translate.
Otherwise doing a google search for "how to proxy websockets in apache" should help.
The web socket path is /
.
from homebridge-config-ui-x.
See https://github.com/oznu/homebridge-config-ui-x/wiki/Reverse-Proxy:-Apache for latest template.
from homebridge-config-ui-x.
Related Issues (20)
- All Devices - No Response HOT 2
- Operation failed with code 243 HOT 2
- Can‘t Update Node - Download Error HOT 7
- Cannot install package because of node-gyp-build error HOT 4
- Update from 4.55.1 to 4.56.0 fails with an error. HOT 5
- npm ERR! errno -4058 HOT 2
- Homebridge still loading at UI HOT 2
- Delay at the measurements of ram and cpu HOT 1
- Can‘t Update Node - Download Error #2029
- [Homebridge UI] Backup is skipping "storage/core" because it is larger than 10MB. HOT 3
- Homebridge was running smoothly for many months, now the accessories Tab is empty. HOT 2
- Persistence of Swagger tokens? HOT 10
- Homebridge status stays starting HOT 2
- Accessoires from homebridge not responding in apple homekit HOT 8
- Homebridge v1.8.0 broke connectivity to homekit HOT 1
- Homebridge v1.8.0 fails to install because of unknown git error HOT 1
- Error missing '../lib/cli.js' when installing a plugin using HomeBridge 1.8.0 HOT 5
- Homebridge accessoires not responding in apple homekit
- no child bridge govee HOT 9
- becomes unreachable after restore from back up
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebridge-config-ui-x.