Dein Problem hängt mit deinen nginx-Serverkonfigurationen zusammen (also fastcgi_params, etc.). Du müsstest diese posten bevor dir jemand helfen kann. Der erste PHP-Hinweis aus deinem error.log weißt z. B. darauf hin, dass in den fastcgi_params HTTP_HOST nicht mit übergeben wird. Warum deine foreach() fehlschlägt kann ich dir allerdings auch nicht sagen.by Fleshgrinder - German Forum
Was macht der Beistrich in deiner index Direktive? Das sollte gleich mal zu einem Syntax-Fehler führen. Wo dein document root liegt ist völlig irrelevant und warum es dort liegt auch, Hauptsache die Rechte passen. server { index index.html index.htm index.php; root /www/devubuntu.loc; server_name devubuntu.loc; location / { location ~ \.php$ { fastcgi_pass unix:/var/by Fleshgrinder - German Forum
Was there ever any progress on this topic? Personally I think it would be very interesting to see nginx supporting CyaSSL with the NTRU algorithm for high performance websites. To be honest, I'd love to run some benchmarks on my own on this.by Fleshgrinder - Nginx Mailing List - English
Many thanks Maxim, sometimes the solution is so easy. I was using SPDY and only checked with latest Firefox and Chrome. And one shouldn't trust Page Speed, it keeps telling me about the vary headers, although it's using SPDY. Again, many thanks.by Fleshgrinder - Nginx Mailing List - English
I'm running the latest development version of nginx and gzipping is working. But no Vary Accept-Encoding header is added to any gzip response. The gzip_http_version isn't affecting the behavior, no matter if I set it to 1.0 or 1.1 no header is sent. Even if I add the header myself via the add_header directive, nothing. If I use PHP to add the header it's there. Any ideas what the problem couldby Fleshgrinder - Nginx Mailing List - English
Finally I was able to compile nginx and of course I'd like to share this with you. Seems like the order of the configure options was the problem. I used the following configure argument order and it compiled without any problems. nginx version: nginx/1.4.0 built by gcc 4.7.2 (Debian 4.7.2-5) TLS SNI support enabled configure arguments: --user=www-data --group=www-data --prefix=/usr/local --sby Fleshgrinder - Nginx Mailing List - English
Hello, I'm desparately trying to compile the latest nginx with the latest OpenSSL. In short I'm grabbing the latest nginx tar.gz (1.4.0 but had the same problem with 1.3.16) and the latest OpenSSL tar.gz (1.0.1e but have the same problem with 1.0.1d) extract them and want to compile them. Everything wents smooth until the following point: /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linby Fleshgrinder - Nginx Mailing List - English
Thanks a lot, I'm going to give the workaround a try, because I really have to blocks that are listening to 443 and one of both blocks has no ssl_certificate defined (it only redirects from www to non-www). I just copied the whole ssl block from the other server context and restarted. I'll let you know if it worked (but I'm very confident). I don't want to apply the patch because I want to sticby Fleshgrinder - Nginx Mailing List - English
nginx -V output: nginx version: nginx/1.1.8 built by gcc 4.6.2 (Debian 4.6.2-5) TLS SNI support enabled configure arguments: --prefix=/etc/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-client-body-temp-path=/var/lib/nginx/body --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --http-log-path=/var/log/nginx/access.log --http-proxy-temp-path=/var/lib/ngby Fleshgrinder - Nginx Mailing List - English
Just do it differently, your config is evil. ;) ## Return (no rewrite) server block. server { ## This is to avoid the spurious if for sub-domain name ## "rewriting". listen [::]:80 default_server deferred; server_name example.com; return 301 $scheme://www.example.com$request_uri; } # server domain return. This should work flawlessly in any browser (or fby Fleshgrinder - How to...
Zwei Dinge sind mir gleich aufgefallen die grundlegend falsch sind: } location /blog { index /blog/index.php; } location /forum { index /forum/index.php; } Die index Anweisung nimmt nur Dateinamen (inkl. Erweiterung) an, keine Pfade. Der location / { index index.php } Block ist völlig ausreicheby Fleshgrinder - German Forum
Würde dir sehr gerne helfen, habe aber leider keine Erfahrung damit. Du solltest es im englischen Forum probieren (solltest du kein Englisch können kann ich dir natürlich dabei helfen).by Fleshgrinder - German Forum
Sowas kann immer nur eine Endlosschleife verursachen, bin froh, dass du's gleich selbst entdeckt hast. :)by Fleshgrinder - German Forum
Hier ist nicht viel los, fragt mich nicht warum. Ich schaue immer wieder mal rein und versuche zu helfen, dabei bin ich selber nicht der absolute Oberchecker. Also erstmal wäre deine Konfiguration interessant. Prinzipiell musst du einfach die Caching-Angaben die nginx im HTTP-Header an den Browser sendet abändern, z. B. auf einen negativen Wert setzen, dann muss der Browser immer alles neu ruby Fleshgrinder - German Forum
Klar, im Besonderen wenn du in Deutschland bist, dort ist die Nutzung eines Logos im passenden Kontext immer erlaubt (deshalb ist die Deutsche Wikipedia auch die einzige Wikipedia die Firmenlogos drinnen hat bis zum abwinken). Was du nicht darfst ist das Logo in irgend einer Weise verändern und du darfst es nicht völlig aus dem Kontext entrissen verwenden (also, keine Ahnung, "nginx pr0n heby Fleshgrinder - German Forum
Du hast alles im Server-Block der auf Port 80 hört konfiguriert. SSL funktioniert aber nicht auf diesem Port, dafür ist der Port 443 gedacht. Im Server-Block mit Port 80 nimmst du alle nicht-SSL-Konfigurationen vor und im Server-Block mit Port 443 (unten) all SSL-Konfigurationen. Du brauchst auch auf jeden Fall ein Zertifikat und einen Schlüssel. Diese kannst du dir sehr einfach selbst generby Fleshgrinder - German Forum
Welche nginx Version verwendest du? In älteren Versionen gab es diverse Fehler mit Multibyte-Support. Ansonsten auch mal die Dateien dafür checken (da gibt's koi-utf und so weiter).by Fleshgrinder - German Forum
/etc/nginx/sites-available/vhost-i.conf fastcgi_pass unix:/var/run/php-fpm-i.sock; /etc/php5/fpm/pool.d/vhost-i.conf listen = /var/run/php-fpm-i.sock; Das i steht synonym für Inkrement. Schau genau auf das in der eckigen Klammer, das ist der Name des Pools. Diese Anweisung steht ganz am Anfag in der Datei /etc/php5/fpm/pool.d/vhost-i.conf und bestimmt den Namen. Ich vermute, daby Fleshgrinder - German Forum
Greedy match eben. ;) Probier mal folgendes: if (!-e $request_filename) { rewrite ^([_0-9a-zA-Z-]+)?(/wp-.*/themes/.*) $2 break; rewrite ^([_0-9a-zA-Z-]+)?(/.*\.php)$ $2 last; rewrite ^ /index.php last; }by Fleshgrinder - German Forum
Dein nginx ist uralt, ich empfehle alleinig aus sicherheitsgründen eine neuere Version zu installieren. Wie genau soll dieser Rewrite aussehen, kannst du mehr Details dazu schreiben. Vielleicht anhand eines konkreten Beispiels? Sonderzeichen durch - zu ersetzen ist kein großes Problem, nur glaube ich, dass es wahrscheinlich intelligenter ist, diese Datei dann dauerhaft am Server mit diesemby Fleshgrinder - German Forum
Hi guys, I need your help. I'm desperately trying but fail with every try. In PHP I have the following: <?php echo '<link rel="stylesheet" href="/style-'. md5_file(IP .'style.css') .'.css"/>'; echo '<script href="/script-'. md5_file(IP .'script.js') .'.js"></script>'; ?> If any of you isn't familiar with this, it outputs sometby Fleshgrinder - How to...
Hallo, Leute, jetzt war ich zwar schon länger nicht mehr hier, doch das hat mehr damit zu tun, dass ich vom einen Bundesland ins nächste gezogen bin um zu Studieren und meinen Test-Server auch zurücklassen musste. Muss zur Zeit wieder mit Apache arbeiten (*bäh*), doch ich hoffe, dass ich bald wieder einen Testrechner hier stehen habe. LGby Fleshgrinder - German Forum
I can't tell you what the output of the stub status module means, never used it. If your cpu count is only one, only use 1 or 2 worker_processes. Try increasing the worker_connections instead - maybe 2048. You don't have create a second nginx server or reverse proxy or something, you can tell your existing server that it should deliver static files directly. The following goes into your servby Fleshgrinder - Other discussion
I don't think that nginx is a opcode cache for PHP, XCache is doing a different thing then the nginx cache.by Fleshgrinder - Other discussion
Delete the quotes and provide nginx with a statement of how to handle the rewrite: last or permanent? last would be a simple rewrite without any status code and permanent will redirect the user (301 Moved Permanently). Also type a break; statement after the rewrite rule. So in the end, you would have one of the following: rewrite ^/({2,4})\/([0-9]{0,3})\/([0-9a-zA-Z]{0,6})\/(*)\/(.*)\.pngby Fleshgrinder - How to...
Hi DarkPepe, in your Apache rewrite rules something is missing, because nothing is trailing the index.php, there it just says RewriteRule . /index.php but where is the request going? To which variable do we have to pass the requested URL? The code here will work for you, but be sure to find out to which variable you have to pass your requested URL or point me to a description page of the FUby Fleshgrinder - How to...
The first thing that pops out of your config is the extremly high value for worker_connections, 20000 is far too much. A value like 1024 or 2048 is enough. Also the worker_processes is too high, the value should be the same as the count of your CPU cores. By setting the correct values for this two options your problem could be solved.by Fleshgrinder - How to...
Hi miradev, sorry the quoted rewrite rule isn't from me, it was created by Igor Sysoev and I can't answer your question. Maybe someone else can?by Fleshgrinder - How to...
Hi catch! The best place to find some answers to your questions is the nginx Wiki over at http://wiki.nginx.org/Main Nearly everything is explained there. Additionally I recommend the nginx "how to" from calomel.org https://calomel.org/nginx.html it's also very well explained. If you have questions beyond the documentations there, come back here and ask. ;-)by Fleshgrinder - How to...
But as everyone else he should get his chance to learn how things work. Your answer isn't helping anyone.by Fleshgrinder - How to...