Comments (3)
upstreams are domain sockets or listen as a domain socket.
from websockify-nginx-module.
upstream UDS, eg. websockify_pass unix:/tmp/vnc.sock;
In meantime, I checked my config and I discovered websockify does not parse parameter properly, when it is passed as variable:
works:
websockify_pass unix:/tmp/vnc.sock;
buggy:
set $socket unix:/tmp/vnc.sock; websockify_pass $socket;
log:
[error] 16553#0: *30 no port in upstream "/tmp/vnc.sock" while sending to client
from websockify-nginx-module.
seems a parsing problem here
https://github.com/tg123/websockify-nginx-module/blob/master/ngx_http_websockify_module.c#L813
I will try to fix it
from websockify-nginx-module.
Related Issues (19)
- ngx_http_websockify_send_with_encode: encode error! HOT 16
- help me HOT 1
- Dockerfile HOT 1
- 单独使用websockify和nginx内置websockify的不同效果(代理转发失败) HOT 7
- 配置后不能用,返回400 HOT 2
- 内存问题 HOT 1
- websocket trans tcp? HOT 1
- websockify 模块主动断开同前后端的连接 HOT 7
- Will this work as a Dynamic module for nginx? HOT 1
- expose port 5901 if start with docker
- 通过websockify-nginx能不能实现二次转发 HOT 1
- websocket_server_write_frame_header函数建议返回头部长度 HOT 3
- can i stream my rtsp over this HOT 1
- can not work with http2 ssl enabled! HOT 3
- server send ping time duration! HOT 1
- fails to work with spice-html5 HOT 11
- WSS? HOT 2
- Build fails with nginx 1.6.3 and 1.8.1 HOT 2
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 websockify-nginx-module.