-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
proxy locations to different container ports #14
Comments
Update
Using this workaround requires to publish the Seafile container tcp port 8082 on the host. Is it possible to add additional tags allowing to redirect certain location(s) to other ports of the container? i.e.:
|
Hello @fflo , Not sure if adding all those tag would be efficient. As it is becoming very specific to a situation. Wouldn't it be what you want ? |
Hi Adrien, that's a good idea. I'll give it a try the next days and let you know about my results. 👍 |
Hi Adrien, thanks for the hint. In principle using the advanced configuration option helps to resolve this issue. But for whatever reason rancher-active-proxy did not (auto) recreate the let's encrypt san certificate (adding the additional hostnames). |
Hey Adrien,
I'm trying to setup a Seafile storage container with my rap proxy.
To be able to upload media files to the Seafile cloud storage system it is necessary to proxy a certain "location /seafhttp" to another port than the rap.port.
example configuration: https://manual.seafile.com/deploy/deploy_with_nginx.html
I have already tried to get it working using a configuration file like this in vhost.d:
... but RancherActiveProxy fails to start with the following error message in this case:
ranchergen.1 | level=info msg="[nginx -s reload]: \"2017/01/29 01:19:53 [emerg] 110#110: upstream \\\"[external dns name]\\\" may not have port 8082 in /etc/nginx/vhost.d/[domain]:3\""
I think the best solution would be to add additional tags allowing to redirect certain location(s) to other ports of the container.
Do you have a better idea how to fix this?
The text was updated successfully, but these errors were encountered: