summaryrefslogtreecommitdiff
path: root/readme.md
diff options
context:
space:
mode:
Diffstat (limited to 'readme.md')
-rw-r--r--readme.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/readme.md b/readme.md
index f52a663..d575149 100644
--- a/readme.md
+++ b/readme.md
@@ -16,6 +16,12 @@ Settings:
- point webroot to codeq-web
- set up reverse proxy for /ws/ to the node server:
+ - using the command a2enmod enable apache modules: proxy, proxy_http, proxy_wstunnel, rewrite
+ - add to the apache configuration the following directives:
+ RewriteEngine on
+ RewriteCond %{REQUEST_URI} ^/ws/ [NC]
+ RewriteCond %{QUERY_STRING} transport=websocket [NC]
+ RewriteRule /(.*) ws://localhost:8083/$1 [P,L]
ProxyPass /ws/ http://localhost:8083/ws/
ProxyPassReverse /ws/ http://localhost:8083/ws/
- set _path_prefix in server.problems