Tag Info

Hot answers tagged

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.


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.


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

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 ...


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; ...


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 ...


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;


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 ...



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