Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Fetch via proxy unavailable?

    Miniflux
    2
    3
    77
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ajtatum
      ajtatum last edited by

      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

      girish 1 Reply Last reply Reply Quote 0
      • girish
        girish Staff @ajtatum last edited by

        @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 1 Reply Last reply Reply Quote 0
        • girish
          girish Staff @girish last edited by girish

          @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

          1 Reply Last reply Reply Quote 1
          • First post
            Last post
          Powered by NodeBB