diff options
Diffstat (limited to 'deployment/apache.conf')
| -rw-r--r-- | deployment/apache.conf | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/deployment/apache.conf b/deployment/apache.conf index 3942bf6..a54991f 100644 --- a/deployment/apache.conf +++ b/deployment/apache.conf @@ -33,6 +33,11 @@ # Static files served by Apache Alias /static /site/${FQDN}/public + # WebSocket support (Requires mod_proxy_wstunnel) + # Must be placed BEFORE the generic ProxyPass / + ProxyPass /ws/ ws://127.0.0.1:8080/ws/ + ProxyPassReverse /ws/ ws://127.0.0.1:8080/ws/ + # Proxy all other requests to Go application ProxyPreserveHost On ProxyPass /static ! @@ -42,4 +47,4 @@ # Logging ErrorLog ${APACHE_LOG_DIR}/${FQDN}-error.log CustomLog ${APACHE_LOG_DIR}/${FQDN}-access.log combined -</VirtualHost> +</VirtualHost>
\ No newline at end of file |
