Docker (nginx, docker-gen, letscrypt) & wayk bastion

avatar

I am trying out a new setup for my server. The setup should look like this.

For this I use this docker compose script.
The setup works well if I create more docker instances (virtual hosts) and include the environment variables. I have been trying to integrate Wayk bastion into this setup for days. Using virtual host nginx without virtual host nginx (directly) but I had no success until now.
Is it possible to integrate wayk bastion in this setup?


Thanks a lot
Best regards
Patrick

hid.png

All Comments (2)

avatar

Hi,

You should be able to use your docker compose script in front of Wayk Bastion with TLS offloading, but we do not support exporting the complete configuration for the Wayk Bastion containers inside a docker compose script. From your diagram, if you expose "https://www.example.com" as a virtual host, all you would need is a reverse proxy rule to point to the Wayk Bastion HTTP listener:

Set-WaykBastionConfig -ListenerUrl "http://localhost:4000" -ExternalUrl "https://www.example.com"


You should then add a reverse proxy rule in nginx to forward all traffic on "https://www.example.com" to "http://<WaykBastionHost>:4000". Don't forget to enable WebSocket traffic in nginx or it won't be fully functional.

Best regards,

Marc-André Moreau

avatar

Hi,

thank you very much for your help and information.
I will try that in the next days.


Best regards
Patrick