Tag Info

Hot answers tagged

3

You are using different format for the listen directives in the ┬┤server` blocks. This means that the virtual hosts get different listening sockets for themselves, and for some protocol / interface combinations, you might get unexpected result for the request. I would recommend you to use listen 80; on both virtual hosts, so that nginx will listen to port 80 ...


2

Try this piece of code proxy = urllib2.ProxyHandler({'http': '127.0.0.1:8080'}) opener = urllib2.build_opener(proxy) urllib2.install_opener(opener) urllib2.urlopen('http://www.google.com')


2

Assuming a full-tunnel configuration, your data is protected between your computer and the VPN service, and from a web site's perspective your traffic will appear to originate with the VPN provider. However, you are now placing a lot of trust in the VPN service. They do have un-encrypted access to all of your traffic. Additionally, anyone upstream to the ...


1

Am I right : your IP is masked. Slightly masked. For something like a basic HTTP or FTP request, it will appear to come from the VPN server address, but with things like full email headers, Javascript and iFrames on websites, depending on the configuration it might be possible for some servers to see or work out your IP. The VPN company could leak ...


1

You can use -J instead of -o ProxyCommand. But -J does not support the %h and %p notation like ProxyCommand. That means you will need to specify hostname and port again. Make sure you specify the same hostname both times, otherwise it is going to fail - most likely when verifying the host key. This command should work: rsync -avz --delete -e "dbclient -J ...


1

is HTTPS to HTTPS proxy a good idea? Depends on the situation/use-case/reasoning, there's no one-fits-all answer for that. if so, do I need to give the proxy the SSL certificate too or can I just enable SSL in nginx/apache/whatever's parameters? Yes and No! You have two ways of doing this: SSL Reverse Proxy TCP Load Balancing SSL Reverse ...


1

Schematic: ssh ssh A ------> B ------> C ^ ^ using A's using B's ssh key ssh key Preconditions: A is running ssh-agent; A can access B; B can access C; A's ssh public key is present in B:~/.ssh/authorized_keys B's ssh public key is present in C:~/.ssh/authorized_keys In ~/.ssh/config on A, add Host C ...


1

If your data is correct, then there ist nothing wrong with squid. The url you posted is http:// ubuntuforums.org/ - see the space between http:// and ubuntufoums.org/


1

This would normally be the syntax: export http_proxy=http://10.9.8.7:1234/ export https_proxy=$http_proxy export ftp_proxy=$http_proxy export rsync_proxy=$http_proxy export no_proxy="localhost,127.0.0.1,localaddress,.localdomain.com" for applications such as wget ping won't be routed through a proxy


1

It should timeout, and then behave as if there were no proxy set. That has been my experience in setting pac files across a wide variety of platforms. Caveat: IE caches proxy.pac results. This is not normally too much of an issue, but you can turn it off in the registry. In test scenarios though, where you are quickly shifting between pac and no pac, you ...


1

Notice the RST flag being on. It seems that your browser sends RST packet to an already closed connection to your proxy server. It is hard to tell why this happens from provided information. Probably if you managed to capture the connection which causes this via wireshark/tcpdump, you could find out. We start with what looks like normal data exchange, ...


1

Firstly, how many network interfaces are on this server? On servers that have DHCP assigned IP (that is on the internet facing interface): localhost (127.0.0.1) may be bound to the interface assigned by the DHCP server, when this assignment is off / changes (i.e. DHCP that gives you internet connectivity), you have a different IP, and thus DNS for: ...


1

The surest way to deal with this situation is to guarantee that a site will only be served if that hostname is specifically requested. The only situation where one site can be served when another is requested is when Nginx cannot (for some reason) find the site requested and instead serves the default. The default will either be the first server defined or ...



Only top voted, non community-wiki answers of a minimum length are eligible