Tag Info

New answers tagged

3

You can use AWS API Gateway (documemtation). API Gateway helps developers deliver robust, secure and scalable mobile and web application backends. API Gateway allows developers to securely connect mobile and web applications to business logic hosted on AWS Lambda, APIs hosted on Amazon EC2, or other publicly addressable web services hosted inside or ...


1

I'm trying to do something similar, however, if you are simply trying to simulate the load on a server I would look at something like a load-testing framework. I've used locust.io in the past and it worked really well for simulating a load on a server. That should allow you to simulate a large number of clients and let you play with the configuration of the ...


1

main.c: * If this token is IDLE, discard it. main.c: if ( ! strncasecmp( CP, "IDLE", strlen( "IDLE" ) ) ) if `IMAP proxy' is http://squirrelmail.org/download.php#imap_proxy then IDLE capability is discarded. maybe It's hard to make its function implement.


0

Looks like it was a combination of caching and a bad isInNet rule overriding the DIRECT rule in my specific port if statement. The rule example posted does work, when executed in the correct order!


0

Original config if (shExpMatch(host, "*.somedomain.co.uk") || shExpMatch(url, "http://example.somedomain.com:2222/*") || shExpMatch(url, "https://example.somedomain.com:2222/*")) return "DIRECT"; Are you sure this shouldn't be if (shExpMatch(host, "*.somedomain.co.uk") || shExpMatch(url, "http://example.somedomain.co.uk:2222/*") || ...


0

I had a similar case in the past. Add RequestHeader unset "Authorization".


2

I had similar problem, so create a tool: https://github.com/sjitech/proxy-login-automator This tool can create a local proxy and automatically inject user/password to real proxy server. Support PAC script.


0

You can configure your DHCP server for Web Proxy Autodiscovery Protocol: Create a PAC file and host it on a local web server. Then have your DHCP server provide the URL of the PAC file (e.g. http://mywebserver/proxy.pac) in DHCP option 252: option auto-proxy-config code 252 = " http://mywebserver/proxy.pac";


0

Reverse proxy is a fine solution here. This way you can have dozens of servers on one public IP. I know nothing about Digital Ocean and your hosting environment, so I can only recommend placing proxy as close to the application server as possible, to avoid double latencies. Reverse proxies work well in most configuration, although often require special ...


1

This will do what you are asking for create the following file /etc/nginx/sites-available/domain1.com with the following contents upstream backend1 { ip_hash; server 10.10.10.10; server 10.10.20.10; } server { listen 1.1.1.1:80; listen 1.1.1.2:80; server_name www.domain1.com; location / { proxy_pass http://backend1; ...


0

I was able to solve this problem by explicitly setting 127.0.0.1 localhost in the hosts file then clearing Chrome's cache. After this the page started loading as expected. I believe this was an isolated incident pertaining to the specific proxy server that the computer is connected through.


0

It's probably due to the port used. Chrome uses Internet Explorer's proxy settings. Add the the server to the "Exceptions" list as shown on the screenshot below. If that doesn't work, please include a screenshot of your current proxy settings so we can get a better idea.


0

You could change the value of "request_timeout". This value does the following: "How long to wait for complete HTTP request headers after initial connection establishment." Just set the value like this: request_timeout 5 minutes Hope that helps.


0

Why can't all systems be servers, with client apps? A computer can be both a server and a client at the same time. It's not mutually exclusive unless there's a poor design in which you're utilizing the same ports. In the instance where you have local systems and remote systems, each behind their own firewalls, having NAT or port-forwarding in place to ...


0

That is not possible. Any reasonable customers have firewalls in their networks that prevent connections from outside networks. The configuration needed on the firewalls depends on the network structure, and is different on each customer.


0

This is quite nontrivial to do transparently (maybe tweak an SSH honeypot program to auto-login and then use ForceCommand to handle the proxy? sounds messy), but you could set up a proxy and instruct your users on how to use it easily enough. This concept is called an SSH bastion host. No special software is needed on the proxy (the bastion). The only ...


0

This is called "transparent proxy". You need two things to do it: Your proxy server should support it (transparent proxy). Squid is a well-known proxy server which supports transparent proxy mode. Configure your firewall / router to redirect HTTP traffic to your proxy like the iptables rule you have.


2

I suppose the best way to solve your issue is by directing your GitLab to use an outbound http proxy. You can refer this link to configure the http proxy on your GitLab installation. -- Update #!/usr/bin/perl use strict; # Turn off buffering to STDOUT $| = 1; # Read from STDIN while (<>) { my @elems = split; # splits $_ on whitespace by ...



Top 50 recent answers are included