-
Is it supported to deploy semaphore behind a reverse proxy to a path other than /, ie https://example.com/semaphore? It's not mentioned in the reverse proxy documentation https://docs.ansible-semaphore.com/administration-guide/security |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 6 replies
-
There is such a setting: https://docs.ansible-semaphore.com/administration-guide/configuration#public-url However, it doesn't seem to work. Attempts to fetch the js/css assets get redirected to an invalid path. |
Beta Was this translation helpful? Give feedback.
-
post nginx and docker compose config |
Beta Was this translation helpful? Give feedback.
-
The web host parameter changes the base URL of the internal HTTP server as well, so you have to map outside /semaphore to eg http://localhost:3000/semaphore not just http://localhost:3000/ Here's what I got working with Apache httpd:
However, OpenID Connect is not working with the web path configured. |
Beta Was this translation helpful? Give feedback.
-
Are you sure about this? It does not work for me, all of the endpoints return 404. It should be ProxyPass /semaphore/api/ws ws://localhost:5010/semaphore/api/ws However, the OpenID Connect endpoints do not work. The redirects do not take into account the base URL. |
Beta Was this translation helpful? Give feedback.
The web host parameter changes the base URL of the internal HTTP server as well, so you have to map outside /semaphore to eg http://localhost:3000/semaphore not just http://localhost:3000/
Here's what I got working with Apache httpd:
However, OpenID Connect is not working with the web path configured.