Tag Info

New answers tagged

3

The Via header is designed for passing the blame on to someone else. It is perfectly acceptable to remove, or not generate it, if it doesn't serve that purpose.


1

Basically nginx is proxy server. Its capabilities include proxy HTTP, HTTPS, IMAP, POP3, SMTP and other protocols. For HTTP(S) proxy, the backend can be either FastCGI server like PHP-FPM or another web server. For FastCGI backend like you need fastcgi module. For example, you need to define the backend with fastcgi_pass. For proxying another website, you ...


0

Your main Nginx should act as a reverse-proxy and forward HTTP requests to the respective web server of each app. If the main reverse-proxy has file-level access to the app's jails, you better use UNIX sockets to communicate with its web server, but in your case you have no choice but to use TCP. When using TCP, make sure to set the keepalive parameter to ...


0

If you are running the ssh session within the user account (using program such as putty.exe), when you try to login via rdp, it will disrupt that connection causing the rdp session to break. What you need to do is run the ssh tunnel as a service which won't be interrupted.


1

I ran into the same black screen + disconnect problem myself today, using putty as my client. I did find a solution eventually. I switched from putty to bitvise tunnelier, and setup a S2C connection with the following settings: listen if:0.0.0.0 listen port:13389 destination host:localhost dest port:3389 As chance would have it, I'm using bitvise ssh ...


3

Because you regex doesn't match. ^[A-Za-z0-9]$ matches URIs composed of one alphanumeric character and you didn't put any leading slash nor capture group. You need ProxyPassMatch ^/([A-Za-z0-9]+)$ https://example1.com/news-$1 instead.


2

Look in /var/www/chat/public/tmp/sockets/ - does thin.0.sock actually exist? As far as I know, Thin only supports TCP sockets, not Unix sockets. If you copied the Unix socket thing from a Unicorn-specific example, that would explain it, since Unicorn does support them. I suggest changing the upstream definition block to say server http://127.0.0.1:4567 or ...


1

In my opinion, there are no big reasons to use Windows WAP instead of your Apache servers. If you use WAP, then you have better integration with ADFS of course, you can use the built-in 2 factors authentication. But you need additional servers, not great if you already have reverse proxies/load balancers in your environment. Be careful with one thing: ADFS ...


0

With one public IP you won't be able to host both web sites on port 80 using two physically separate servers. You'll have to run one on 80 and another on 8080 which is an annoyance. You could instead setup a proxy on one of the physical servers. The downside is you'll have a single point of failure (the server running the proxy) and it adds complexity. ...


0

Well there were two config set up on 443 causing the confusion. Removed the old one.


0

The term you are looking for is Content Delivery Network (CDN). Akamai, Limelight, Rackspace, AWS, CloudFlare, and other companies all have offerings in this space. Various differentiating features might include: Origin pull SSL Custom SSL CNAME support Bandwidth pricing methods (utility pricing, volume discounting) Integration with other products you ...


0

If it is possible for you to install IIS URL Rewrite Module on the machine then this can be done by combination of using regex and url rewrite/redirect. http://www.iis.net/downloads/microsoft/url-rewrite


1

It has been 3 years since this question was asked and a lot has changed. This answer is to help anyone like me. The current version of nginx allows to create multiple sub filter rules under one location directive. Like so location / { proxy_pass http://original-domain.com; proxy_set_header Accept-Encoding ""; proxy_set_header original-domain.com; ...


0

If anyone is interested in the solution, here it is: Additional directives for HTTP: SSLProxyEngine Off RewriteEngine On RewriteCond %{HTTPS} off RewriteRule $ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] Additional directives for HTTPS: SSLProxyEngine On AllowEncodedSlashes On <Location /> ProxyPass https://localhost:8443/ ...


1

Host header should never have a port in it. Change this: proxy_set_header Host $host:$server_port; To this: proxy_set_header Host $host;


0

I had almost the exact same problem, and I found that increasing the memlock and nofile limits on my Ubuntu box dramatically increased performance. For example, append the following to your /etc/security/limits.conf: root soft nofile 100000 root hard nofile 200000 root soft memlock 100000 root hard memlock 200000 In /etc/pam.d/common-session, append: ...


0

Squid is a HTTP proxy (usually operated as a Forward Proxy). It does support FTP also. It does not support POP3 and SMTP. You should look at something like HAProxy if you want a Reverse Proxy for protocols other than HTTP.


0

I solved this by always allowing OPTIONS-requests. Those Request only serve as a "ping" to check if the server is there. <Proxy *> Order deny,allow Allow from all AuthType Basic AuthBasicProvider file AuthUserFile /path/to/passwords # This allows OPTIONS-requests without authorization <LimitExcept OPTIONS> Require valid-user ...


0

Squid is best opensource content filter software. If you want install your own squid on Linux use Webmin. there are lots of UTM solution who use squid as content filter. like Untangle, Clearos, Pfsence, Smoothwall, Endian etc. some commercial distribution like Shopos, Simplewall also provides nice web interface for managing content filter policy.



Top 50 recent answers are included