We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A client figured out how to proxy Accuterm.io via Apache. Need to add these examples to our documentation.
For Apache 2.4 you need to enable the following:
a2enmod proxy a2enmod proxy_http a2enmod proxy_wstunnel
Here is virtual host config
<VirtualHost 0.0.0.0:443> ServerName yourserver.name.org
SSLProxyEngine On SSLProxyCheckPeerCN off SSLProxyCheckPeerName off ProxyPreserveHost On
RewriteEngine on RewriteCond %{HTTP:Upgrade} websocket [NC] RewriteCond %{HTTP:Connection} upgrade [NC] RewriteRule ^/?(.*) "wss://accutermIOserver:4380/$1" [P,L]
My config.json on the IO server
{ "port": 4380, "secure": true, "ssl_cert": "./keys/server_cert.pem", "ssl_key": "./keys/server_key.pem", "static_dir": "./assets", "heartbeat": 60, "close_on_heart_failure": true, "trust_proxy": true, "command":"/usr/bin/d3", "defaults": { "term": "vt100", "cols": 80, "rows": 24 } }
The AccuTermIO server has self signed cert, don’t think I will change that
Web server hosting the proxy will have a lets encrypt cert when moved to production.
Craig
The text was updated successfully, but these errors were encountered:
No branches or pull requests
A client figured out how to proxy Accuterm.io via Apache. Need to add these examples to our documentation.
For Apache 2.4 you need to enable the following:
a2enmod proxy
a2enmod proxy_http
a2enmod proxy_wstunnel
Here is virtual host config
<VirtualHost 0.0.0.0:443>
ServerName yourserver.name.org
SSLProxyEngine On
SSLProxyCheckPeerCN off
SSLProxyCheckPeerName off
ProxyPreserveHost On
RewriteEngine on
RewriteCond %{HTTP:Upgrade} websocket [NC]
RewriteCond %{HTTP:Connection} upgrade [NC]
RewriteRule ^/?(.*) "wss://accutermIOserver:4380/$1" [P,L]
My config.json on the IO server
{
"port": 4380,
"secure": true,
"ssl_cert": "./keys/server_cert.pem",
"ssl_key": "./keys/server_key.pem",
"static_dir": "./assets",
"heartbeat": 60,
"close_on_heart_failure": true,
"trust_proxy": true,
"command":"/usr/bin/d3",
"defaults": {
"term": "vt100",
"cols": 80,
"rows": 24
}
}
The AccuTermIO server has self signed cert, don’t think I will change that
Web server hosting the proxy will have a lets encrypt cert when moved to production.
Craig
The text was updated successfully, but these errors were encountered: