Doc request: Reverse proxy settings for Semaphore #1835
-
Hi Folks, The docs for Gotify could maybe be a starting point: |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
Here is a sample of the Nginx configuration I use You can obviously change whatever is needed but it works great in a docker stack with Semaphore and Nginx. Just replace
|
Beta Was this translation helpful? Give feedback.
-
Just to mention it: there is documentation for Nginx => https://docs.ansible-semaphore.com/administration-guide/security#ssl |
Beta Was this translation helpful? Give feedback.
-
Hi, the documentation seems to already include an Nginx example with proxied WS (docs). But as @kfiresmith tried to use Apcache instead (so didn't look at this Nginx conf), that could explain why he didn't notice that it needs to be done. I guess what we could do is mention this in a general statement on this page like: "Please make sure to also forward websocket connections on the /api/ws route". An example config with Apache would be nice too. If @kfiresmith can share with us the config file he made, that would be nice. |
Beta Was this translation helpful? Give feedback.
-
@Caesarovich I've added a docs PR that adds this general information about the reverse proxy configuration. |
Beta Was this translation helpful? Give feedback.
-
With very limited experience and a lot of help from google I've put together this apache2 site.conf that seems to work fine at the moment (I so far only tried logging in and running already existing tasks).
|
Beta Was this translation helpful? Give feedback.
With very limited experience and a lot of help from google I've put together this apache2 site.conf that seems to work fine at the moment (I so far only tried logging in and running already existing tasks).
Don't expect it to be correct at all and adjust it to your liking. Note that I run ansible semaphore on an internal network only, your environment might require more options too (like HSTS and such).