net1957 / proxycheck Goto Github PK
View Code? Open in Web Editor NEWProxyCheck show the response of a proxy script for URLs(s)
License: MIT License
ProxyCheck show the response of a proxy script for URLs(s)
License: MIT License
It would be helpful, if proxy check would output environment information - time, client ip. Additionally having the hostname resolved to it's ipv4 address would be very helpful.
Normally we would consider 10., 192. etc.-addresses to be "DIRECT" reachable, but in some cases we need to send non-local requests via a proxy server, e.g. there's a public domain www1.example.com mapped to a 10.-address.
Would you mind to add an Docker Image? Maybe something based on the given Dockerfile
. This example uses the multistage build feature of docker which should be available on hub.docker.com since June 2017.
FROM ruby:2.4
MAINTAINER xxx
ENV RAILS_ENV=production
RUN apt-get update \
&& apt-get install -y libc-dev gcc g++ binutils build-essential
RUN curl -sL https://deb.nodesource.com/setup_8.x | bash - \
&& apt-get install -y nodejs
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
&& echo "deb http://dl.yarnpkg.com/debian/ stable main" >> /etc/apt/sources.list.d/yarn.list \
&& apt-get update -y \
&& apt-get install -y yarn
ADD src/Gemfile* /tmp/app/
WORKDIR /tmp/app
RUN gem install bundler \
&& bundle install --without development test \
&& bundle update \
&& rm -r /tmp/app/
ADD src/ /srv/app/
ADD files/latest/config/*.rb /srv/app/config/initializers/
WORKDIR /srv/app/
RUN yarn install
RUN sed -i "s/:debug/:info/" config/environments/production.rb
RUN gem install bundler \
&& bundle install --without development test
RUN rake assets:precompile
ENTRYPOINT ["/usr/local/bundle/bin/rails"]
CMD ["server"]
######
FROM ruby:2.4
MAINTAINER xxx
ENV RAILS_ENV=production
ENV RAILS_LOG_TO_STDOUT=true
RUN apt-get update \
&& apt-get install -y nodejs
RUN rm -fr /usr/local/bundle/
COPY --from=0 /usr/local/bundle/ /usr/local/bundle/
COPY --from=0 /srv/app/ /srv/app/
WORKDIR /srv/app/
ENTRYPOINT ["/usr/local/bundle/bin/rails"]
CMD ["server"]
Having an empty PC_PROXY_PAC_URLS would generate an empty input field. Having a predefined PC_PROXY_PAC_URLS variable should generate a drop down field.
Possible format for PC_PROXY_PAC_URLS
PC_PROXY_PAC_URLS=Desc1,http://example.com/proxy1.pac;Desc2,http://example.com/proxy2.pac
I would suggest to split up the two use cases:
and use different forms for this.
When starting the app, it fails with an JavaScript compilation error.
diff --git i/app/assets/javascripts/application.js w/app/assets/javascripts/application.js
index f7cca88..0bcc4ba 100644
--- i/app/assets/javascripts/application.js
+++ w/app/assets/javascripts/application.js
@@ -13,7 +13,6 @@
//= require jquery
//= require jquery_ujs
//= require foundation
-//= require file-saver
// require turbolinks
//= require_tree .
@net1957 Thanks a lot for making this application available to the public! Sorry for the long time till I gave you feedback.
Easy to use UI
Compressing the Proxy.pac
Proxy.pac URLs
Provide Docker Image
Would you mind to provide a docker image?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.