dev:websockets:gateway:websocketd
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
dev:websockets:gateway:websocketd [2018/06/18 14:35] – [Modify NGINX to proxy websocketd] jdavis | dev:websockets:gateway:websocketd [2022/02/10 13:34] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 68: | Line 68: | ||
< | < | ||
- | # SSL is not currently supported by osrf-websocket-stdio, | + | # Websocketd supports |
- | # modify | + | # Replace https:// with http:// |
proxy_pass http:// | proxy_pass http:// | ||
Line 127: | Line 127: | ||
Environment=PATH=/ | Environment=PATH=/ | ||
Environment=LD_LIBRARY_PATH=/ | Environment=LD_LIBRARY_PATH=/ | ||
- | ExecStart=/ | + | ExecStart=/ |
- | # --sameorigin and --origin=domain1, | + | # modify websocketd command line options to taste |
+ | # --sameorigin and --origin=domain1, | ||
+ | # On Ubuntu 18.04, you may also need to include something like this: | ||
[Install] | [Install] | ||
WantedBy=multi-user.target | WantedBy=multi-user.target | ||
Line 138: | Line 140: | ||
< | < | ||
- | $ sudo systemctl daemon-reload | + | # disable apache2-websockets to avoid unintended starts & port conflicts |
- | $ sudo systemctl enable websocketd-osrf | + | sudo systemctl disable apache2-websockets |
- | $ sudo systemctl start websocketd-osrf | + | |
+ | # enable and start websocketd-osrf | ||
+ | sudo systemctl daemon-reload | ||
+ | sudo systemctl enable websocketd-osrf | ||
+ | sudo systemctl start websocketd-osrf | ||
</ | </ | ||
dev/websockets/gateway/websocketd.1529346958.txt.gz · Last modified: 2022/02/10 13:34 (external edit)