Fetch via proxy unavailable?
-
Hi,
Unless it was removed in a recent version, I installed Miniflux on Cloudron and noticed that the feeds didn't have the option to fetch them via proxy. I've had that option available when I hosted it outside of Cloudron and was just curious about that.
Thanks,
AJ -
@ajtatum It seems to be still there - https://miniflux.app/docs/configuration.html#http-client-proxy . https://github.com/miniflux/v2/issues/1229 says HTTP_PROXY doesn't work but HTTP_CLIENT_PROXY works. Can you check the variable you are using?
From the code atleast, it doesn't looks like there was a UI for this.
-
@girish said in Fetch via proxy unavailable?:
From the code atleast, it doesn't looks like there was a UI for this.
That's not true. Found it here - https://github.com/miniflux/v2/blob/main/template/templates/views/add_subscription.html#L36 . It's protected by
{{ if .hasProxyConfigured }} <label><input type="checkbox" name="fetch_via_proxy" value="1" {{ if .form.FetchViaProxy }}checked{{ end }}> {{ t "form.feed.label.fetch_via_proxy" }}</label> {{ end }}
So, you need a proxy configured for that to show up. That bool derives it's value from the environment variable - https://github.com/miniflux/v2/blob/3f14d08095bd320ff0b74bd742d4f4050bcf4011/config/options.go#L541