Skip to content
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

Nginx proxy pass #1

Open
ovidiubica opened this issue Oct 15, 2019 · 3 comments
Open

Nginx proxy pass #1

ovidiubica opened this issue Oct 15, 2019 · 3 comments

Comments

@ovidiubica
Copy link

I'm wondering if you configured this plugin on Nginx as I cannot get it to work.

@evandrofisico
Copy link
Owner

Yes, I'm currently using the plugin. In my current configuration, both nginx and imageproxy are running on the same machine, with multiple instances of roundcube running in other hosts.

Is imageproxy running? Can you try to to test it without using the signature key to see if it actually retrieves images?

@ovidiubica
Copy link
Author

I tried it without the security key. It appears that I'm stuck on NginX rewriting the URL, as it merges the double slash.
2019/10/15 21:27:09 invalid request URL: malformed URL "/api/imageproxy/sCMU_NQwPExOKOnqXculZ4c7ZJkWTyV3Y8e2TfHW8ekY=/http:/static.contactlab.it/custom_spa/2015/20150218/twitter.png": must provide absolute remote URL

I tried this Nginx location without success.

@loxK
Copy link

loxK commented Apr 6, 2022

It is an imageproxy issue, has nothing to do with this roundcube plugin. I have it running on nginx, don't forget the trailing slash:

location /imageproxy/ {
    proxy_pass http://localhost:8080/;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants