proxy

How to use local proxy settings in docker-compose

笑着哭i 提交于 2020-08-18 02:29:10
问题 I am setting up a new server for our Redmine installation, since the old installation was done by hand, which makes it difficult to update everything properly. I decided to go with a Docker image but am having trouble starting the docker container due to an error message. The host is running behind a proxy server, which I think, is causing this problem, as everything else such as wget, curl, etc. is working fine. Error message: Pulling redmine (redmine:)... ERROR: Get https://registry-1

git error: RPC failed; HTTP 502 curl 22 The requested URL returned error: 502 Proxy Error

好久不见. 提交于 2020-08-07 06:39:24
问题 I work with tortoise git for my actual project. Me and the other members have some trouble since last week with our repository (worked perfect before). When I want to push/pull/clone (HTTPS), I get the following error: fatal: The remote end hung up unexpectedly error: RPC failed; HTTP 502 curl 22 The requested URL returned error: 502 Proxy Error Seems like something went wrong with the proxy server. I can use the repository as usual in the local network of my institute, but I get no access

git error: RPC failed; HTTP 502 curl 22 The requested URL returned error: 502 Proxy Error

空扰寡人 提交于 2020-08-07 06:38:45
问题 I work with tortoise git for my actual project. Me and the other members have some trouble since last week with our repository (worked perfect before). When I want to push/pull/clone (HTTPS), I get the following error: fatal: The remote end hung up unexpectedly error: RPC failed; HTTP 502 curl 22 The requested URL returned error: 502 Proxy Error Seems like something went wrong with the proxy server. I can use the repository as usual in the local network of my institute, but I get no access

git error: RPC failed; HTTP 502 curl 22 The requested URL returned error: 502 Proxy Error

ⅰ亾dé卋堺 提交于 2020-08-07 06:38:35
问题 I work with tortoise git for my actual project. Me and the other members have some trouble since last week with our repository (worked perfect before). When I want to push/pull/clone (HTTPS), I get the following error: fatal: The remote end hung up unexpectedly error: RPC failed; HTTP 502 curl 22 The requested URL returned error: 502 Proxy Error Seems like something went wrong with the proxy server. I can use the repository as usual in the local network of my institute, but I get no access

cURL NTLM Proxy Authorization

与世无争的帅哥 提交于 2020-08-04 07:52:45
问题 I have been using curl for some time now and its working fine but with a proxy which uses users 'domain\username' to authenticate curl fails asking for Authorization. Authorization method is NTLM. This code goes in a batch file. Code: curl --proxy-ntlm --proxy-user : --proxy %PROXY_URL% --user %Username%:%Password% -f -O --url "%SITE_URL%" Curl Version: curl 7.30.0 (i386-pc-win32) libcurl/7.30.0 OpenSSL/1.0.1c zlib/1.2.7 Protocols: dict file ftp ftps gopher http https imap imaps ldap pop3

cURL NTLM Proxy Authorization

人盡茶涼 提交于 2020-08-04 07:51:09
问题 I have been using curl for some time now and its working fine but with a proxy which uses users 'domain\username' to authenticate curl fails asking for Authorization. Authorization method is NTLM. This code goes in a batch file. Code: curl --proxy-ntlm --proxy-user : --proxy %PROXY_URL% --user %Username%:%Password% -f -O --url "%SITE_URL%" Curl Version: curl 7.30.0 (i386-pc-win32) libcurl/7.30.0 OpenSSL/1.0.1c zlib/1.2.7 Protocols: dict file ftp ftps gopher http https imap imaps ldap pop3

How to correctly use Nginx as reverse proxy for multiple Apache Docker containers with SSL?

我的未来我决定 提交于 2020-07-19 06:03:39
问题 Given the following docker containers: an nginx service that runs an unmodified official nginx:latest image container name: proxy two applications running in separate containers based on modified official php:7.4.1-apache images container names: app1 and app2 all containers proxy , app1 , and app2 are in the same Docker-created network with automatic DNS resolution With the following example domain names: local.web.test local1.web.test local2.web.test I want to achieve the following behavior:

local cache for a github repository?

允我心安 提交于 2020-07-17 01:29:52
问题 We use github to manage a great deal of our software environment, and I would wager that like many other orgs the overwhelming majority of traffic to/from that repo comes from our office. With that in mind, is there a way to build a local cache of a given github repository, but still have the protection of the cloud version? I'm thinking of this in the model of a caching proxy server, where the local server (presumably in our building, on our local network) would handle the vast majority of

Setting up Tomcat in nginx proxy

南楼画角 提交于 2020-07-10 07:21:10
问题 I'm setting up my web server and I need to run tomcat on http://ip/tomcat/ instead of http://ip:8080/ . How I can do this on nginx? I've tried to find an answer in the internet, but all of them is useless for me. My nginx configuration: upstream tomcat { server ip:8080; } server { listen 80 default_server; listen [::]:80 default_server; server_name _; location /tomcat/ { proxy_pass http://tomcat; } } Server answer: server answer image 回答1: You can use /tomcat/ location with using below tag.