it be possible.
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
to me what should happen to
a request for /a/1.2.3.4.5.6.html -- probably the above configuration
does not do what is wanted there.)
Good luck with it,
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http
to me how a request for /dir/file.html should be handled,
depending on the existence of dir and file.html.
If that kind of request matters in the cms, you should probably test
that it does what you want.
Good luck with it,
f
--
Francis Dalyfran...@daoine.org
On Tue, Feb 17, 2015 at 09:30:46PM -0500, Ben Johnson wrote:
On 2/16/2015 3:52 PM, Francis Daly wrote:
Hi there,
...and draw a picture of what happens when a client sends a 1MB upload
to nginx, and nginx sends it via proxy_pass to an upstream. That should
show you why it fails.
Any
it?
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
your upload_progress module on your upstream
server.
Not going to work. At least until you can use an unbuffered
upload. Which is not in current nginx. (But is in other things.)
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
that the request is getting to nginx, no.
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
you make / what response do you get / what
response do you expect would help here.
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
traffic/requests on
the subdomain apart from those two urls
location /
matches any normal request that does not match any other location.
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http
this variable and value. Thanks!
Return it as a http response header, just like you would for a Set-Cookie:.
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
is for.
nginx may not be the right tool for this job.
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
restart the nginx server?
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
/ngx_http_upstream_module.html
You are using the upstream module.
You are not using any specific directives from the module, so they all
take their default values (which happens to be unset).
Is this a expected behavior ;-)?
That it works, is expected.
f
--
Francis Dalyfran...@daoine.org
~ ^/downloads/(.*)$ {
Perhaps add
location = /download { return 301 /download/; }
(You may mean /download or /downloads, I'm not sure.)
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org
;
and the rest should work as you want.
(Unless you use return.)
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
configuration change might possibly do that?
Replace $binary_remote_addr with $limit.
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
will handle the request
/foo/doc/bar/filename.txt ?
If it is the one you show, you will get http 403.
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
~ oldname.html/ ) {
rewrite ^ https://mywebsite.com/newname.html/? permanent;
}
But this doesn't work.
Yes, it does. If your incoming request matches the string oldname.html/.
It just isn't a very good way of implementing it.
f
--
Francis Dalyfran...@daoine.org
the if that isn't the good way of implementing it.)
Is this a good way ? :
No.
I'd say just use location =.
Good luck with it,
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman
://nginx.org/r/limit_req_zone
Which part of your req config means that you omit some client addresses
from accounting?
What similar zone config could you use?
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
?
==
events {}
http {
server {
listen 8080;
location /one {
proxy_pass http://www.example.com;
}
}
}
==
Works for me.
What config file shows the problem that you report?
(If the above fails for you, then it may be worth examining external parts.)
f
--
Francis
.)
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
configure nginx to.
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
that omit Referer, in order to block all requests from this
app? How long do you think it will take the app author to change their
app to include a Referer, if you do that?)
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx
On Mon, Mar 09, 2015 at 04:44:05PM +0200, Gena Makhomed wrote:
On 08.03.2015 22:50, Francis Daly wrote:
Hi there,
webpage http://wiki.nginx.org/Redmine has some security problems:
1. All redmine config files are available for anybody in internet,
for example: https://redmine.example.com
; in there.
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
On Mon, Mar 09, 2015 at 08:24:43PM +0200, Gena Makhomed wrote:
On 09.03.2015 19:25, Francis Daly wrote:
Hi there,
But the user must have followed some documentation to install redmine in
the first place; and if they unthinkingly install it into /var/www/redmine
they are probably doing
.
If that request does give a sensible response, then you will want to
look more closely at your original index.php. If it does not give a
sensible response, then look more closely at what nginx sends to the php
(fastcgi) server.
f
--
Francis Dalyfran...@daoine.org
-Attempt: 1 \
-i http://192.168.122.170:80/correo-proxy-auth/index.php
Add whatever other header name/value pairs you need for one successful login.
Until that replies with the expected response, none of your mail side of
things will work.
f
--
Francis Dalyfran
one $host
I'm not sure how $http_host is less safe than $host. It is proxy_pass'ed
to the real redmine server as the Host header. That server must be
able to handle it safely anyway, no?
f
--
Francis Dalyfran...@daoine.org
___
nginx
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
: PROPFIND
/TENANT_ID/webdav/ HTTP/1.0
...because the request is for /TENANT_ID/webdav/, which refers to a
directory that exists, and the nginx serve-from-the-filesystem handler
does not do PROPFIND.
f
--
Francis Dalyfran...@daoine.org
On Mon, Mar 09, 2015 at 08:56:28PM +0200, Gena Makhomed wrote:
On 09.03.2015 19:25, Francis Daly wrote:
Hi there,
thank you for the explanation.
It is true that $http_host is completely controlled by the client, and
$host is mostly controlled by the client. It is true that they can have
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
from last December's
http://mailman.nginx.org/pipermail/nginx/2014-December/046207.html
There is a bit more background in each thread there.
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http
are doing not to use if inside
location for anything other than return or effective equivalents.
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
.)
What fastcgi_param does your fastcgi server (fcgiwrap) use to determine
the file to process? (It is usually SCRIPT_FILENAME; but some fastcgi
servers use something different.)
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
a ProxyRemote * XXX.YYY.FFF.EEE:3128 .
apache2 does speak http-being-proxied to a http proxy server.
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
On Mon, Mar 02, 2015 at 09:49:37PM +0100, Pascal Christen wrote:
2015-03-02 20:50 GMT+01:00 Francis Daly fran...@daoine.org:
On Mon, Mar 02, 2015 at 05:48:31PM +0100, Pascal Christen wrote:
Hi there,
how can I fix this problem?
location /backend {
It could match this location
the directory
/Users/test/myproject/backend/web/app_dev.php/.
What I'm doing wrong?
What does the error_log say? Anything about Not a directory?
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org
display a No input file specified..
What does your configuration say about how to handle that request?
(You may find it works better if you use / not \.)
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http
/dropletlocal/library/global/func-global.class.php {
fastcgi_pass 127.0.0.1:9000;
fastcgi_param SCRIPT_FILENAME _the_file_that_you_care_about_;
includefastcgi_params;
}
to each server block; possibly something else will work.
Good luck with it,
f
--
Francis Daly
. It is not clear to me why you can't add one more include
the_add_before_body_bit; line to each. But I'm sure you have your
reasons.
Good luck with it,
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
http://nginx.org/en/docs/http/ngx_http_realip_module.html - but I have
not tested that myself.
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
-name.exampledomain.com/$1 permanent;
That can work, depending on where exactly it is written.
But this didn't seem to have any effect after restarting nginx.
What do the logs show? Nothing suggest one kind of fix; something
suggests another, depending on what the something is.
f
--
Francis Daly
http://nginx.org/en/docs/
Can you show one example config that does not do what you want it to do
when you make a specific request?
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org
On Wed, Mar 25, 2015 at 02:50:29AM +0900, Edho Arief wrote:
On Wed, Mar 25, 2015 at 2:32 AM, Francis Daly fran...@daoine.org wrote:
Hi there,
If your backend will accept /request?source=server1 and
/request?source=server1 as being equivalent, then you could use the
$is_args variable
out what has happened and can make it right.
Good luck identifying the cause,
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
On Tue, Mar 24, 2015 at 12:47:38PM +1300, Steve Holdoway wrote:
On Mon, 2015-03-23 at 22:52 +, Francis Daly wrote:
On Tue, Mar 24, 2015 at 09:13:50AM +1300, Steve Holdoway wrote:
Hi there,
Is there any way to stop / disable random file uploads... for example,
I'm having 'fun
?
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
$strip_the_slash_p;
}
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
or urls is the home page?
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
or
fastcgi_index directives will do anything useful.)
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
On Wed, Apr 01, 2015 at 07:41:57PM -0400, carnagel wrote:
Francis Daly Wrote:
---
On Sun, Mar 22, 2015 at 06:35:31AM -0400, carnagel wrote:
Hi there,
I understand how to skip cache on cookies, POST, query strings, urls
containing
does not talk to a proxy.
nginx is not a proxy.
nginx may not be the right tool for your system.
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
the backend servers so that all of the content on 10.1.0.12 is
available below /panel/, and all of the content on 10.1.0.16 is below
/market/ (or some other unique prefix) and use *that* as the way that
nginx can decide which backend to use.
f
--
Francis Dalyfran...@daoine.org
that you report.
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
/var/www/domain.fr/web/subdomain;
is probably what you really want, but I guess there is some reason why
you don't just use that?
Good luck with it,
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http
On Sun, Apr 19, 2015 at 02:49:26AM -0400, gariac wrote:
Hi there,
Argh! Pilot error! Once I cleared the browser cache, the website works.
Good that you found the working system.
And thanks for following up, so that the list knows there is no ongoing problem.
Cheers,
f
--
Francis
to tell nginx to serve any static files.
Perhaps the port-8080 server can tell you more about what is happening?
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
On Sat, Apr 25, 2015 at 08:25:20AM -0400, blason wrote:
Hi there,
What does your configuration tell nginx to do with the request for
/xxx/distributor_x/receipt_pdf/xx_201504_MH55_.pdf
You haven't shown the rewrite rule mentioned in your Subject: line.
f
--
Francis Daly
leave it for someone else.
Good luck with it,
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
;
in a separate server{} block, and then have /stats/ and /error/ locations
which do whatever else you want them to do.
Good luck with it,
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman
of the directory /usr/share/nginx/www/downloads,
for the request /downloads/, then you want root /usr/share/nginx/www
as your relevant configuration.
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http
from web.
Why does your back-end include the string http://192.168.1.9/; in its
response body?
Can you make it instead include a string based on the Host: header it
receives? If so, that is what the proxy_set_header Host $host is for.
f
--
Francis Dalyfran...@daoine.org
of day, anything like that?
If you make the request from the machine itself, so network issues should
be minor, does it still show sometimes being slow?
Good luck with it,
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
for /, and configure it to do that.
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
conceivably replace it
with a thing which fetches the certificates from the right place and
puts them in the right place, and then runs the real nginx binary,
without needing any changes from stock nginx.
Good luck with it,
f
--
Francis Dalyfran...@daoine.org
;
is causing this issue, but I have no idea if this is a configuration of the
nginx server and if I can do something around that.
If it matters: what is the configuration of the nginx server?
f
--
Francis Dalyfran...@daoine.org
http: (because I don't have a test https: server
to hand). What happens when you leave all of the ...skip... parts empty?
Is there any additional configuration needed?
Do your logs show that this request was handled in the server{} block
that you think it was handled in?
f
--
Francis
whether duplicate or link is better.)
Thanks,
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
the packager, so that might
be the best place to get a will work on next update solution.
Good luck with it,
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
permission for the fastcgi-server user?
Good luck with it,
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
that that combination is the reason your
deny directives do not act the way you want them to.
It looks to me like you can safely move all of these ifs to server{}
level, outside the location{}.
If you do that, does it change the response that you get at all?
Cheers,
f
--
Francis Dalyfran
{}? And in the enclosing server{}?
Can you provide a complete nginx.conf that shows the behaviour you report?
(It doesn't have to be your production config. Something smaller
that shows this problem on a test machine, may make obvious where the
problem is.)
Thanks,
f
--
Francis Daly
.)
But that config is presumably in one of the files mentioned in an
include directive.
include /etc/nginx/conf.d/*.conf;
include /etc/nginx/sites-enabled/*;
Good luck with it,
f
--
Francis Dalyfran...@daoine.org
___
nginx
at work allow WebSocket connections to pass
through it?
Can you successfully connect to any WebSocket service anywhere from
work? If not, the problem may not be on the nginx side.
Good luck with it,
f
--
Francis Dalyfran...@daoine.org
of $uri?
When I request http://example.com/?Open, what response do you want to
send me?
Does
==
location = / {
if ($is_args) { return 301 /; }
}
==
cause your right thing to happen?
f
--
Francis Dalyfran...@daoine.org
root; and
some suggesting alias.
I suspect that it depends on where things are installed.
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
/host.domain/admin/ (with a 404 error of course)
Are you reporting that when you have the three lines above in your config,
you get this behaviour; and when you remove those three lines from your
config, you do not get this behaviour?
Because that seems strange.
Thanks,
f
--
Francis
nginx without the scripting engines, shouldn't it
return 404 by default,
instead of returning 200 while ignoring $uri's content?
I'd say no.
If you want your instance to care more about $query_string than the
default, you can configure it to, for example as above.
Cheers,
f
--
Francis
http://example.com/index.php;? Specifically: what are all of the http
headers returned?
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
the php app. Some insist on being installed in /.
Good luck with it,
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
:
location = / { return 301 http://workspace.corp.no/workspace/agentLogin; }
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
On Mon, Jun 08, 2015 at 08:08:10PM -0300, Thiago Farina wrote:
On Mon, Jun 8, 2015 at 7:46 PM, Francis Daly fran...@daoine.org wrote:
On Mon, Jun 08, 2015 at 02:07:54PM -0300, Thiago Farina wrote:
Hi there,
server {
listen 80;
server_name domainame.com;
root /data/www
On Mon, Jun 08, 2015 at 08:53:45PM -0300, Thiago Farina wrote:
On Mon, Jun 8, 2015 at 8:26 PM, Francis Daly fran...@daoine.org wrote:
On Mon, Jun 08, 2015 at 08:08:10PM -0300, Thiago Farina wrote:
Hi there,
server {
listen 80;
server_name domainame.com;
root /data
the error page and the error
code to the client?
Configure it according to the common examples in the documentation,
not according to the special-case examples.
Good luck with it,
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing
handled by the config that you showed.
Can you start with a small complete config that clearly shows the problem
you are reporting?
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman
way to resolve this issue using NGINX
No.
Search for proxy servers; they'll have a better idea of what they can do.
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo
.
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
,
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
is the test doing
that would be bad if it were not done?
Cheers,
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
. But it all depends on the configuration that
is not yet shown.
And rewrite does something different, documented at
http://nginx.org/r/rewrite; it involves uris, not filenames.
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx
which indicates that PHP is processing the file?
Is there any difference in response if you add ?php at the start of
the magento-check.php file?
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http
want - proxy_pass or fastcgi_pass
to something external with appropriate other settings, most likely.
Good luck with it,
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman
...;
events {
}
http {
server {
}
}
==
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
{}.
I'd probably use map, though, if I were going to do that.
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
301 - 400 of 1614 matches
Mail list logo