Closed
Description
I need to mount luigi
behind a nginx, for example luigi at http://address/mount
.
For that I configure:
[core]
default_scheduler_url=http://address/mount
....
GUI is ok and works but, CLI not due to url resolution. it happens there
Line 54 in c135664
To understand what happened:
parsed=urlparse('http://address/mount')
url='/api/add_task'
urljoin(parsed.geturl(), url)
# ==> give 'http://address/api/add_task'
# expected http://address/mount/api/add_task
What I must do for working - slash at the end of mount point, no slash for url -:
parsed=urlparse('http://address/mount/')
url='api/add_task'
urljoin(parsed.geturl(), url)
# ==> http://address/mount/api/add_task
Metadata
Metadata
Assignees
Labels
No labels