fork 0k-charms
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Valentin Lab a444d16bd6 new: dev: [apache] store a ``url`` argument instead of a ``protocol`` argument. 6 years ago
..
actions chg: dev: whitespaces !minor 6 years ago
build new: [apache] support of ``ssh-tunnel`` option in core options. 6 years ago
hooks new: [apache] allow to set ``core-rules`` in main service ``options``. 6 years ago
lib new: dev: [apache] store a ``url`` argument instead of a ``protocol`` argument. 6 years ago
test new: dev: [apache] store a ``url`` argument instead of a ``protocol`` argument. 6 years ago
README.rst new: [apache] support of ``ssh-tunnel`` option in core options. 6 years ago
metadata.yml new: [apache,cron,letsencrypt,logrotate,odoo,postgres] declare relations 6 years ago
shorewall new: [www] renamed ``www`` to ``apache``. 9 years ago

README.rst



SSH Tunnel
----------

On the server side, you can configure your compose file::

apache:
options:
ssh-tunnel:
domain: ssh.domain.com ## required
#ssh: ... ## required, but automatically setup if you
## provide a ``cert-provider`` to ``apache``.


On the client side you should add this to your ``~/.ssh/config``::

Host ssh.domain.com
Port 443
ProxyCommand proxytunnel -q -E -p ssh.domain.com:443 -d ssh.domain.com:22
DynamicForward 1080
ServerAliveInterval 60

If it doesn't work, you can do some checks thanks to this command::

$ proxytunnel -E -p ssh.domain.com:443 -d ssh.domain.com:22 -v \
-H "User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Win32)\n"