diff options
author | Aleš Smodiš <aless@guru.si> | 2015-09-15 10:46:10 +0200 |
---|---|---|
committer | Aleš Smodiš <aless@guru.si> | 2015-09-15 10:46:10 +0200 |
commit | 64073d4c7efb2f21f66d0fea5083c659a1b0a15e (patch) | |
tree | 45b778a32cf2e15ff8edd8ea23efc13176d98ca2 /readme.md | |
parent | a49a44fc4b06f2675de3a4f7cbc9ac4e477f1c28 (diff) |
Augmented the readme with apache directives for proxying websocket directives.
Diffstat (limited to 'readme.md')
-rw-r--r-- | readme.md | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |