Re: Compilation with Passenger support hangs on "adding module"

2020-05-26 Thread svoop
> Following the "adding module ..." line, nginx configure calls the > "config" script from the module directory. And since there is no > further output, it hangs somewhere in the config script of the > passenger module. You're right, I spend a good part of the day to track this down and figured ou

Compilation with Passenger support hangs on "adding module"

2020-05-26 Thread svoop
Hi I'm using Nginx on a Gentoo Linux box to serve Ruby apps with Passenger for years now and up to this point, never any real trouble compiling Nginx. Today, however, trying to upgrade Nginx from 1.16.1 to 1.17.10, the compilation hangs early when adding the Passenger module. The version of Passe

Sanitize "invalid UTF-8 byte sequence"

2013-12-03 Thread Svoop
Hi I'm getting forged requests with invalid UTF-8 byte sequences on my Rails app which is served with Nginx/Passenger. Is there a way to have Nginx sanitize requests before they are passed to Passenger? Thanks for your hints! ___ nginx mailing list ngi

Re: error_page without content type

2013-05-15 Thread Svoop
Richard Stanway writes: > Looks like your 404s are being generated by a backend, not by nginx. You may want to use fastcgi_intercept_errors / proxy_intercept_errors. You're right, but since the pages are served via Passenger, these directives won't work. However, I found a way to pass the correct

error_page without content type

2013-05-14 Thread Svoop
Hi I'm setting a custom 404 page with: server { ... error_page 404 /errors/not-found.html; } And the page looks as follows: Seite nicht gefundenDie angeforderte Seite existiert nicht.Page non trouvéeCette page n'éxiste pas.Page Not FoundThis page does not exist. This is what I get with "cu