jase64
jase643w ago

How to serve Windmill in a path?

Hi there, I'd like to embed Windmill (WM) in a service platform with a single domain name "myserver.com". To access WM, I'd like to define a path like myserver.com/windmill. In order to leave the standard docker deployment untouched, I consider adding a Nginx reverse proxy on top (like depicted in the enclosed). When I "proxy_pass" it in my Nginx script it says "502 Bad Gateway", because obviously the svelte app has been instructed of the used /windmill path. How can I instruct the windmill server to accept the path ?
No description
5 Replies
rubenf
rubenf3w ago
I do not believe windmill is prefixable atm
jase64
jase64OP3w ago
Means no possibility for such infrastructure?
rubenf
rubenf3w ago
I don't think so
jase64
jase64OP3w ago
Ok. Thanks. So I'll have to setup a dedicated server and domain, I guess.
Karl
Karl2w ago
just use a subdomain: i am running windmill behind traefik on wm.dom.local. You can also set up traefik to use a path like yourserver.com/windmill and forward this to localhost:8080 or straight to 8000. Same should apply for nginx.

Did you find this page helpful?