Devilbox v3.0.0-beta-0.2 released (Websocket support)

Release v3.0.0-beta-0.2 (2022-12-27)

See Release v3.0.0-beta-0.1 for other notable changes

The Backend configuration now supports websockets as well:

Please report issues in this PR or reach out in Discord.

Screenshot 2022-12-26 14-28-34  selection

file: /shared/httpd/<project>/.devilbox/backend.cfg

# PHP-FPM backend
conf:phpfpm:tcp:php80:9000

# HTTP Reverse Proxy backend
conf:rproxy:http:172.16.238.10:3000

# HTTPS Reverse Proxy backend
conf:rproxy:https:172.16.238.10:3000

# Websocket Reverse Proxy backend
conf:rproxy:ws:172.16.238.10:3000

# SSL Websocket Reverse Proxy backend
conf:rproxy:wss:172.16.238.10:3000

Once you’re done with backend.cfg changes, head over to the Intranet C&C page (http://localhost/cnc.php) and Reload watcherd.

Fixed

  • Intranet: vhost overview: allow HTTP 426 to succeed in vhost page (websocket projects)
  • Intranet: vhost overview: Reverse Proxy or Websocket backends do not require a htdocs/ dir for healthcheck
  • Fixed reverse proxy template generation for Apache 2.2 and Apache 2.4 vhost-gen #51
  • Fixed Nginx hash bucket size length to allow long hostnames

Added

  • Reverse Proxy automation for websocket projects (ws://<host>:<port> or wss:<host>:<port>) (Does not work with Apache 2.2)
  • Added tool wscat to be able to test websocket connections
  • Intranet: vhost overview now also shows websocket projects

Changed

  • Do not mount any startup/autostart script directories for multi-php compose as they do not contain tools

Affected Issues / PR’s

  • Refs: #797
  • Refs: #782

What’s Changed

Full Changelog: https://github.com/cytopia/devilbox/compare/v3.0.0-beta-0.1...v3.0.0-beta-0.2