Hat sich erledigt, das if ($wartung = 1) { return 503; } muss innerhalb des location Außerdem habe ich die multplen ifs hierdurch ersetzt. geo $wartungsmodus { default 0; 127.0.0.1 0; 123.123.123.123 0; # User1 234.234.234.234 0; # User2 10.0.2.0/24 0; # internes Netz }by CarstenK. - German Forum
Hallo, für Updates auf dem Applikationsserver würde ich gerne eine Custom "Wartungsseite" erstellen, welche dann für alle IPs angezeigt wird, außer für ein paar Definierte (im Grunde für uns, die dann an der Seite arbeiten). Das klappt soweit auch ganz, allerdings wir dann die Standard Nginx Fehlerseite angezeigt, jedoch nicht die die ich möchte. Wenn die Seite nicht im Warby CarstenK. - German Forum
Hi Francis, thank you for your fast reply. prices or other product information are changing not very often, so i can cache product sites for a very long time and only need to refresh f there are changes. If there are changes i purge sites automaticly, so they are "always" correct. I think it a good way for me and it's working fine, only purging needs to much time :(by CarstenK. - Nginx Mailing List - English
Hello, we use nginx plus for caching and purge URLs automatic by our Shopsystem. In some times we have a lot of URLs to purge and need for every (sometimes wildcard purge) an extra request. Is it possible to purge a list of urls in one request? regards Carstenby CarstenK. - Nginx Mailing List - English
Hi Francis, thank you for your fast reply. I took a look at the header nginx response. ##### Header nginx ### Response Header ## Chrome HTTP/1.1 200 OK Server: nginx Date: Wed, 19 Oct 2016 09:54:07 GMT Content-Type: text/html;charset=UTF-8 Content-Length: 15991 Connection: keep-alive Content-Language: de-DE Vary: Accept-Encoding Content-Encoding: gzip X-Cache-Status: MISS ##by CarstenK. - Nginx Mailing List - English
Hello, i have a problem. If i send a request to url A with Chrom and another request with curl or firefox i have a cache miss. If isend a request to the same url with curl on two different machines the answer is a cache hit, thats fine. But i don't know, why ich became a cache miss if i test with Chrome/Firefox, Chrome/curl or Firefox/curl on the second request. curl -I http://meinby CarstenK. - Nginx Mailing List - English
Hello, i have a problem. If i send a request to url A with Chrom and another request with curl or firefox i have a cache miss. If isend a request to the same url with curl on two different machines the answer is a cache hit, thats fine. But i don't know, why ich became a cache miss if i test with Chrome/Firefox, Chrome/curl or Firefox/curl on the second request. curl -I http://meinedoby CarstenK. - How to...
Hallo, ich habe ein Caching Problem, wenn ich mit einem beliebigen Browser über die Seite surfe und eine Seite das zweite Mal besuche wird sie aus dem Cache des nginx ausgeliefert (x-Cache-Status. Hit). Soweit so gut. Wenn ich aber den Cache leere und mit Browser A (z.B Chrome) eine URL besuche und im Anschluss mit Browser B (Firefox oder curl) die gleiche URL besuche so bekomme ich ein MISby CarstenK. - German Forum