Lukas Tribus Wrote: ------------------------------------------------------- > which a) you are not doing and b) is not possible, as its the same > exact HTTP > request. Not exactly the same but handled correctly (400) when forcing the impossible; [13/Oct/2015:14:51:49 +0200] 192.xxx 6807 - - "GET HTTP/1.1" 400 180 "-" "-" "-" [13/Oct/2015by itpp2012 - Nginx Mailing List - English
Lukas Tribus Wrote: ------------------------------------------------------- > But *not* with "/". You can, see my map example, used here to redirect http to https except root (/). site.com => tell user we've gone to ssl in plain http site.com/ => tell user we've gone to ssl in plain http site.com/support => 301 redirect to ssl The challenge here is to redirect withby itpp2012 - Nginx Mailing List - English
Something like this: map $request_uri $requri { default 1; / 0; } server { if ($requri) { return 301 http://example.com$request_uri; } # handle /xxxxx location / { # handle / only [.......]by itpp2012 - Nginx Mailing List - English
Where you want to end up is root+location, your last uri will now be /etc/nginx/html/common/common location ^~ /common/ { root /etc/nginx/html/other; } => /etc/nginx/html/other/common location ^~ /another/ { root /etc/nginx/html/other; } => /etc/nginx/html/other/another nb. When ending a location with .../ you need to enter the URL with an ending / as well.by itpp2012 - How to...
Adding a static route will definitely help but the default routing table should take care of this regardless of any gateway. Unless your running with mask 0.0.0.0 :-)by itpp2012 - How to...
Listen 80, will listen on all lan interfaces, so it will take requests from dmz and answer them on the same interface. When it comes to passing requests on another lan, you simply need to address this other lan, ea. proxy_pass http://192.168.123.123; (Normal) routing will do the rest.by itpp2012 - How to...
Ask your local DNS administrator to add a local DNS entry to the dns server. www.example.com - local DNS -> 192.168.0.100 www.example.com - global/external DNS -> what ever your external ip is.by itpp2012 - New Member Introductions
A strange 'bug' in stream, it always aborts the first server in upstream eventhough there is nothing wrong with the server. 2015/10/05 12:21:01 1436#684: *1 client 192.168.xxx.xxx:1994 connected to 0.0.0.0:xxxx 2015/10/05 12:21:01 1436#684: *1 proxy 192.168.xxx.xxx:1493 connected to 192.168.xxx.200:xxxx 2015/10/05 12:21:03 1436#684: *1 client disconnected, bytes from/to client:334/192600,by itpp2012 - Nginx Mailing List - English
Any ideas how to implement the following? Upstream pool of 4 nodes Node1 Node2 Node3 Node4 Proxy_pass upstream If node in upstream returns a 501 move request to next node in upstream but don’t mark it as down or failed and keep client waiting while trying other nodes. If all nodes return a 501 return a 503 to client, and still don’t mark any node as down or failed. nb. any nby itpp2012 - Nginx Mailing List - English
11:04 1-10-2015 nginx 1.9.6.1 Kitty Whats small and slender red and peach, blue eyes, white face with whiskers, pink bow ? She ain't really that nice, she ain't even pretty but she gets the job done so here’s Kitty! Remember kids, as long as it SMELLS like orange juice, you can drink it. The nginx Kitty release is here! Based on nginx 1.9.6 (29-9-2015) with; + lua-nginx-module v0.9.17by itpp2012 - Nginx Mailing List - English
You can't use the 'ssl' setting when not using its parameters and its files, so remove ssl.by itpp2012 - How to...
If the config hasn't changed there's only one thing you can do, build debug versions, enable debug logging and run Curl against a single file on both versions, then run a diff between the logs, or place on pastebin so we all can have a look.by itpp2012 - Nginx Mailing List - English
http://forum.nginx.org/read.php?1,252530by itpp2012 - Other discussion
FlorentP Wrote: ------------------------------------------------------- > 1.4.2, we can't login anymore : > > Upon clicking on the "Confirm" or "Cancel" we are redirected to > https://www.annopedia.net:80/forums/anno1404/login.php > Note the use of https and port 80. > > I don't have any SSL certificate installed (and don't want any). You are rby itpp2012 - How to...
Can you check the logfiles for MISS cache entries, if you are using caching on these static files.by itpp2012 - Nginx Mailing List - English
https://www.ruby-forum.com/topic/212442by itpp2012 - How to...
stevez7 Wrote: ------------------------------------------------------- > What do you mean? > > I have tried this way only > > location /wiki/%CE%99%CF%83%CF%84%CF%8C%CF%84%CE%BF%CF%80%CE%BF%CF%82 > { return 301 > https://el.wikipedia.org/wiki/%CE%99%CF%83%CF%84%CF%8C%CF%84%CE%BF%CF% > 80%CE%BF%CF%82new; } location /wiki { return 301 https://el.wikipedia.org/by itpp2012 - How to...
You should use Curl, it will show you exactly on each request what is coming back.by itpp2012 - How to...
Have you tried it? like a normal standard redirect?by itpp2012 - How to...
andreas27 Wrote: ------------------------------------------------------- > But no other https publishing e.g. for Exchange OWA / EWS is possible > as listener for port 443 is already in use. > > So I have to answer my own question with NO, it is not possible to > implement my target scenario using nginx. How sad. I already stated "You can't mix stream ports with http(by itpp2012 - How to...
Roman Arutyunyan Wrote: ------------------------------------------------------- > Hello, > > > On 24 Sep 2015, at 16:00, itpp2012 <nginx-forum@nginx.us> wrote: > > > > Given: > > unresolved external symbol _nxt_mem_cache_pool_destroy referenced in > > function _ngx_http_js_cleanup_mem_cache_pool > > > > Is libnjs.a required to buiby itpp2012 - Nginx Mailing List - English
Given: unresolved external symbol _nxt_mem_cache_pool_destroy referenced in function _ngx_http_js_cleanup_mem_cache_pool Is libnjs.a required to build or can an existing version (.lib) work as well?by itpp2012 - Nginx Mailing List - English
Is there any module loading order advice? ea. should it be before or after Lua? does/should it matter?by itpp2012 - Nginx Mailing List - English
173279834462 Wrote: ------------------------------------------------------- > > Though not providing an OCSP response isn't a problem at all > > as OCSP stapling is just an optimization, and > > Well. it *is* a problem. > > Without stapling, each client that hits our server also hits the ocsp > server. > In our case, the ocsp server is overloaded (StartSby itpp2012 - Nginx Mailing List - English
andreas27 Wrote: ------------------------------------------------------- > nginx: "stream" directive is not allowed here in > /etc/nginx/sites-enabled/rdp... Stream is a separate block AFTER your normal http {} block, see my example above. events {} http {} stream {}by itpp2012 - How to...
Have you seen this one http://forum.nginx.org/read.php?29,261735,261737#msg-261737 Have you completely removed the spdy module ?by itpp2012 - Nginx Mailing List - English
http/2 has just been released in 1.9.5by itpp2012 - Ideas and Feature Requests
See also; https://github.com/openresty/lua-nginx-module/pull/569/files https://github.com/openresty/lua-nginx-module/pull/570/filesby itpp2012 - Nginx Development
You need at least nginx v1.8 when stream was added. 1.9.4 would be better since some stream issues have been resolved.by itpp2012 - How to...
10:38 21-9-2015 nginx 1.9.5.1 Lizard Based on nginx 1.9.5 (18-9-2015) with; * Note about using http2 with plain http, https://tools.ietf.org/html/rfc7540#section-3.4 "This is known to be useful when there is some SSL accelerator in place before nginx." tnx. to Maxim Dounin for this link and explanation * prove06 will be released shortly for recent changes + spdy replaceby itpp2012 - Nginx Mailing List - English
![]() |
![]() |
![]() |
![]() |
|