lbr38 / repomanager

A web UI to mirror rpm or deb packages repositories.
GNU General Public License v3.0
50 stars 7 forks source link

outgoing proxy settings support #151

Closed broxio closed 2 months ago

broxio commented 5 months ago

Some of my system has been located in really stricted inbound and outbound policy and only able to access to the world via designate proxy, after dig out through UI seems not able to setup proxy, do I need to setup in php app ?

lbr38 commented 4 months ago

Hello

I can confirm that there is no proxy setting support right now. As I don't know how to set this up easily and I don't have a proxy server to test this functionality, I don't know when it will be developed.

broxio commented 4 months ago

​Seems doable since the application using curl based exec call from controller, just how to implement settings properly and make it flexible to use, will keep you post, nice application btw 👍

holl595 commented 2 months ago

I've raised a pull request that should resolve this, we have had it successfully working behind a http proxy

lbr38 commented 2 months ago

Thanks for the help, it seems okay so I'm going to merge. I will need to publish a new version so that a new Docker image is built and the modification is officially public.

Later, I think I will directly integrate the parameter into the Settings tab, for example: image

lbr38 commented 2 months ago

So just like I said I've improved @holl595's modification and I've integrated the addition of a proxy directly into the global settings (SETTINGS tab).

image

A new docker image has been published with the feature.

@broxio & @holl595 could you update Repomanager to the latest version and confirm that it works well?

holl595 commented 2 months ago

I have tested the new image this morning and it seems to be working fine