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

min behind a proxy #82

Closed
ljoli opened this issue Apr 20, 2016 · 11 comments · Fixed by #1202
Closed

min behind a proxy #82

ljoli opened this issue Apr 20, 2016 · 11 comments · Fixed by #1202
Assignees

Comments

@ljoli
Copy link

ljoli commented Apr 20, 2016

Hello everybody,

I would like to use min behind a proxy.

How can I do that ?

Thanks for all

@PalmerAL
Copy link
Collaborator

Most operating systems have a setting to use a proxy - For example, OS X instructions are here. If you enable a proxy in your operating system, it should work in Min.

There currently isn't a way to set a proxy for just Min, but it wouldn't be too difficult to add that using the session.setProxy API.

@ljoli
Copy link
Author

ljoli commented Apr 26, 2016

@PalmerAL I use XUBUNTU on my enterprise and I can't change any file of system. So, That is why it is better to add proxy setting on web browser MIN. ;-)

@ds2k5
Copy link

ds2k5 commented Jan 11, 2017

Hi,
are there any plans to get proxy settings in min-browser ?
thanks

@michalpl7
Copy link

Would be nice if You add separate proxy settings.

@20NE
Copy link

20NE commented Mar 12, 2018

love min's simplty. Yes. I'm looking forward to proxy setting feature, with proxy auto-config even better.

@skygate2012
Copy link

It's really useful to have custom proxy settings because I don't want to proxy the whole system and I need to set different proxy ports for different applications.

@d4tocchini
Copy link

to set proxy globally, for all sessions, you can set the relevant chromium command line flag before electron app ready event like so:

const proxyHost = '127.0.0.1:8888'
electron.app.commandLine.appendSwitch('proxy-server', proxyHost)

@xboston
Copy link

xboston commented Feb 5, 2019

TOR proxy:

const proxyHost = 'socks5://127.0.0.1:9050' 
app.commandLine.appendSwitch('proxy-server', proxyHost)

@ghost
Copy link

ghost commented Aug 31, 2019

I was able to add a simple proxy tor host to my session as @PalmerAL stated in main.js, now I'm developing a component in settings where you can switch proxy on or off and set proxy host and port by input.

@ghost ghost mentioned this issue Sep 6, 2019
@antfu antfu mentioned this issue Jul 14, 2020
@Sestowner
Copy link
Member

If you don't want to set proxy system-wide, just run Min with --proxy-server option.

HTTP/HTTPS: min --proxy-server=address:port

SOCKS: min --proxy-server=socks5://address:port

@ghost
Copy link

ghost commented Jul 27, 2020

That's not the case, then you can't switch back to normal middle session or switch to other proxy.

@Sestowner Sestowner self-assigned this Jul 31, 2020
Sestowner added a commit to Sestowner/min that referenced this issue Aug 17, 2020
PalmerAL pushed a commit that referenced this issue Aug 22, 2020
* Add proxy settings

fixes #82

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

Successfully merging a pull request may close this issue.

9 participants