MyBB Community Forums

Full Version: What's this subdomain?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I found https://camo.mybb.com/ and was curious as to the purpose of the subdomain. Do you have any insight on it?
not sure it is still in use - earlier used for routing secured images (proxy server)
It's part of DVZ secure content, used to proxy non-secure images through so they're served through https to stop mixed-content warnings. E.g. (in a simple sense), http://domain.com/image.jpg would usually cause an error as being served over http://, whereas this will change it to be https://camo.mybb.com?image=http://domain.com/image.jpg so it's served over https:// (it's not as simple as a query string but demonstrates the point) Smile
Thanks for clarifying: I was confused how users were uploading images to it. I wish imgur gave HTTPS URLs by default. Requiring a plugin and using image proxies gets pretty annoying at times :/
(2017-02-13, 02:27 PM)Lunorian Wrote: [ -> ]Thanks for clarifying: I was confused how users were uploading images to it. I wish imgur gave HTTPS URLs by default. Requiring a plugin and using image proxies gets pretty annoying at times :/

We forward all images through the proxy to prevent browsers from making requests to casual third party servers (and we encourage forum administrators to extend the coverage like this if they don't have to be worried about bandwidth as much).
(2017-02-13, 05:26 PM)Devilshakerz Wrote: [ -> ]
(2017-02-13, 02:27 PM)Lunorian Wrote: [ -> ]Thanks for clarifying: I was confused how users were uploading images to it. I wish imgur gave HTTPS URLs by default. Requiring a plugin and using image proxies gets pretty annoying at times :/

We forward all images through the proxy to prevent browsers from making requests to casual third party servers (and we encourage forum administrators to extend the coverage like this if they don't have to be worried about bandwidth as much).

Is that proxy useable by any forum? Or would we need to setup our own proxies?
(2017-02-13, 07:41 PM)Lunorian Wrote: [ -> ]
(2017-02-13, 05:26 PM)Devilshakerz Wrote: [ -> ]
(2017-02-13, 02:27 PM)Lunorian Wrote: [ -> ]Thanks for clarifying: I was confused how users were uploading images to it. I wish imgur gave HTTPS URLs by default. Requiring a plugin and using image proxies gets pretty annoying at times :/

We forward all images through the proxy to prevent browsers from making requests to casual third party servers (and we encourage forum administrators to extend the coverage like this if they don't have to be worried about bandwidth as much).

Is that proxy useable by any forum? Or would we need to setup our own proxies?

You would need to set up your own proxy, using Camo: https://github.com/atmos/camo
(2017-02-13, 07:41 PM)Lunorian Wrote: [ -> ]
(2017-02-13, 05:26 PM)Devilshakerz Wrote: [ -> ]
(2017-02-13, 02:27 PM)Lunorian Wrote: [ -> ]Thanks for clarifying: I was confused how users were uploading images to it. I wish imgur gave HTTPS URLs by default. Requiring a plugin and using image proxies gets pretty annoying at times :/

We forward all images through the proxy to prevent browsers from making requests to casual third party servers (and we encourage forum administrators to extend the coverage like this if they don't have to be worried about bandwidth as much).

Is that proxy useable by any forum? Or would we need to setup our own proxies?

Individual forum maintainers have to set up it on their own (relatively straightforward on VPS or similar machines).
@Devilshakerz:
Could you post some examples to setup an own image proxy with or without a subdomain?


Thanks in advance!
(2017-02-13, 08:03 PM)SvePu Wrote: [ -> ]@Devilshakerz:
Could you post some examples to setup an own image proxy with or without a subdomain?


Thanks in advance!

You could use heroku, is easy to install.

Works fine in my forum