with same error that there is no such directory, seems somehow
the request it is not passed via CGI to FastWebR.
Yes, that's what you configured.
What happens when you test exactly what was suggested?
f
--
Francis Dalyfran...@daoine.org
/cgi-bin/R/foo, which is not an executable file.
Im trying to see if fastcgi_split_path_info might help anything.
Yes.
http://nginx.org/r/fastcgi_split_path_info
It will change the values of $fastcgi_script_name and $fastcgi_path_info.
f
--
Francis Dalyfran...@daoine.org
reload'.
Because of that, I guess that the problem is in identifying the correct
server{}.
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
be in a location that does match --
perhaps location / {}.
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
is chosen.
The problem is that I want to expand it slightly and say anything except
web3.mydomain.com. I.E.
something.mydomain.com matches, but web3.mydomain.com does not match.
How is this possible?
Make a different server{} block that matches web3.mydomain.com.
f
--
Francis Daly
.
There are circumstances in which the variable $host will take that value.
How is PayPal doing that?
Presumably you're giving the information it to PayPal somehow?
And are there any config settings I can use to
change this behaviour?
Probably. What's your current relevant config?
f
--
Francis Daly
to configure it.
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
, you rewrite to a directory without including
the trailing /.
I confess I'm not sure what it is that you want to do.
Possibly setting the default in the map to blank/ will help?
But you will have to decide what the next step for the user is.
f
--
Francis Dalyfran...@daoine.org
is effective in this location{}?
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
not both be what you want.)
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
themselves to be easily reverse-proxied at a non-root url, you may end
up happier if you just use two separate server{} blocks with different
server_name directives.
But that can be worried about after you see how your /cms locations work.
f
--
Francis Dalyfran...@daoine.org
be a
better solution.
I'm a bit confused about how your configuration can have any affect on
someone else's CDN.
If you want to fetch file.js from the CDN, what url should you use?
Perhaps I misunderstand what NetDNA actually do.
f
--
Francis Dalyfran...@daoine.org
redirects
them to cdn.domain.com/file.jpg; they get that, which fetches (now
successfully) cdn-src.domain.com/file.jpg and returns it to the user.
Does that sound like it might do what you want, without taking too
much effort to keep synchronised?
f
--
Francis Dalyfran...@daoine.org
On Thu, Apr 04, 2013 at 12:20:42PM +0200, Davide D'Amico wrote:
Il 04/04/13 11:34, Francis Daly ha scritto:
On Thu, Apr 04, 2013 at 09:01:17AM +0200, Davide D'Amico wrote:
Hi there,
I suspect that the suggestions are increasingly more efficient -- but
you presumably have the interest to find
curl, you don't even need that --
just add a suitable -H Host: argument to each command.
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
that start with /.
In each of those cases, the browser should interpret relative links
correctly without nginx having to modify any body content.
(If you use option (b) and create links like ../../../app/other/place,
then that will break this. So don't do that.)
f
--
Francis Dalyfran
On Tue, Apr 16, 2013 at 02:06:30AM +0400, Maxim Dounin wrote:
On Mon, Apr 15, 2013 at 10:42:30PM +0100, Francis Daly wrote:
On Mon, Apr 15, 2013 at 05:35:27PM -0400, jaychris wrote:
Hi there,
client sent invalid header line: X_FORWARDED_PROTO: http while reading
client request headers
configuration.
Change it back, and it should work again.
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
to have both auth_basic and uwsgi_pass.
In the one location that handles the request /not-foo/something, you
want to have uwsgi_pass but not auth_basic.
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http
the provided
username.
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
locations, if the first one matches then it is the one that is used.
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
On Thu, May 02, 2013 at 01:57:47PM -0700, Paul N. Pace wrote:
On Thu, May 2, 2013 at 1:21 PM, Francis Daly fran...@daoine.org wrote:
On Thu, May 02, 2013 at 01:05:29PM -0700, Paul N. Pace wrote:
Hi there,
Other than that, I tried to follow both guides to the letter. When I
go to http
this output?
I *think* you're reporting that PATH_INFO is unexpectedly empty
in $_SERVER, in which case adding fastcgi_param TEST_PATH_INFO
$fastcgi_path_info; and retrying might give a hint as to where the
problem is.
f
--
Francis Dalyfran...@daoine.org
://nginx.org/r/proxy_pass suggests that you want a
resolver defined, and a variable for the server name to connect to.
Does that match your configuration?
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http
can just redo the configuration to avoid most if inside
location blocks.
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
do
something different, and now that try_files exists, -f is not the
best way to achieve the common case.
Is there a feasible yet efficient way?
It sounds like -f is what you want, perhaps following the example
shown on http://wiki.nginx.org/IfIsEvil
f
--
Francis Dalyfran
fix.
Compare the output of curl -i http://www.mydomain.com/it/SOMETHING;
with the output of curl -i http://www.mydomain.it/SOMETHING;, and with
what you expect the output to be.
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
it is looking in.
Any *other* location{} block might have a different root or alias
defined, but that should be clear from the config file.
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http
might introduce its own
-c argument. That's up to the administrator, and not nginx.
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
On Tue, May 14, 2013 at 10:17:13AM -0400, vilsack wrote:
Francis Daly Wrote:
On Sun, May 05, 2013 at 07:04:21AM -0400, zakaria wrote:
Hi there,
location ~ [^/]\.php(/|$) {
Just as another alternative, it is probably possible to use named captures
in the location regex
.
Is there such documentation?
It's hard to beat the contents of src/ for accuracy.
Choose the identifying string in the line you care about, find the
matching ngx_error_log call, and then see what free-form text it provides
in the current version.
f
--
Francis Dalyfran...@daoine.org
it will become clear.
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
corresponding to /unav/index.html
else
give full normal access to the site
and that that can be done with if and rewrite, possibly helped by
map; but the details depend on what exactly you want.
f
--
Francis Dalyfran...@daoine.org
;
}
This will handle requests for /upvc and /upvc?something. The documentation
should explain why it works.
All of the other directives can be added back, when you know why they
are needed here.
Cheers,
f
--
Francis Dalyfran...@daoine.org
that match what proxy_pass expects?
http://nginx.org/r/proxy_pass
Can you guys please help me?
Perhaps you just want to rm /etc/nginx/sites-enabled/default.save,
and then make sure that your editor doesn't create backup files that
match the include pattern in your nginx.conf?
f
--
Francis Daly
can find the first point in what does happen that doesn't
match what should happen, then you'll have a good hint as to where
the problem is.
Good luck,
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http
, or it might have a Host of
192.168.1.1. Either way, it is not what your tomcat expects (unless it
is *also* the default server for connections to this address).
And getting nginx to insert the Host header you want is one way to approach it.
Cheers,
f
--
Francis Dalyfran...@daoine.org
.
Good luck,
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
using a map to set values to be used in limit_rate and
limit_rate_after directives would avoid the if in location problem?
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman
On Sun, Jun 16, 2013 at 01:01:37AM +0300, Vasil Kolev wrote:
В 22:06 +0100 на 15.06.2013 (сб), Francis Daly написа:
But in this case, that's probably unnecessary, since you already know
that without the if statements, no problems appear.
Perhaps using a map to set values to be used
? Thanks.
What other location lines do you have for this server? Only one of
them will be used for the request /images/sample.jpg.
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org
{1})/(\d{2})/(.*\.jpg$) {
location ~ ^/images/ {
then the request for /images/sample.jpg will be handled in the second one.
Which is not what you reported seeing.
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx
for that document.
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
/demo {
location ~* \.php$ {
What one request do you make that does not return what you want? What
does it return instead?
Testing using curl -i is probably best, since you will see exactly what
is returned. Enable the debug log and you might see why that is returned.
f
--
Francis Daly
it.
Good luck with it,
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
that meant
that the location{}s you showed were not the chosen ones for the requests
you made?
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
your extra bit
to start with ? or depending on the existence of $args or of $is_args,
which you could do in a map.
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
will be a good start.
Right now, I'm not sure what problem you are reporting.
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
to get and expect
those things?
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
fixed it
before I looked.
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
be
easier for your log-reading code to unescape the four characters starting
\x before further processing.
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
how to handle the
dynamic files; in that case you would configure nginx to proxy_pass
to the external server.
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
the output of nginx -V, and include a very clear and specific:
* I access *this* url.
* I expect to see *this* output.
* I actually see *this* output.
and, if it is not immediately obvious:
* the difference between the last two is *this*.
Good luck with it,
f
--
Francis Daly
On Tue, Jul 09, 2013 at 08:13:16PM -0400, Ben Johnson wrote:
On 7/9/2013 5:47 PM, Francis Daly wrote:
Hi there,
That line must be within the location @php block, in order for it to
do what you want.
Okay; this means that I would need to modify the ISPConfig virtual host
template
a proper question.
You're welcome; no worries. The more specific a problem report is,
the more chance any mailing list has of finding the answer.
All the best,
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
a better chance of putting in the rest of
the configuration.
Good luck with it,
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
documentation say?
I'd imagine that the information you want would be available in variables,
possibly including $remote_user, if it is available at all.
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http
was written to disk. Not a problem, unless you don't
expect the response to be that big.
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
a config problem which leads to this cycle mentioned in your
error log.
There's no obvious mention of the proxy.php in your Subject: line, though.
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http
long do you expect this request take to respond? How long did you
configure nginx to wait for this request to respond?
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo
probably be better off if you find out how to stop nabble breaking
things, and then re-sending the full message.
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
One possibility: have your 720p video files and your 320p video files
handled in different location{} blocks.
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
of files in different location{} blocks.
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
{} block is not used.
To fix your configuration, you must put all of the configuration that
you want to apply to a request, in the one location{} that handles
that request.
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx
)$ {
location ~ \.(mp4)$ {
http://nginx.org/r/location
What do your location lines up there mean?
For each request you make, what one location is used?
What happens if you add a
location ~ -720\.mp4$ {}
block at the end? And what happens if you instead add it at the start?
f
--
Francis
and
include it.
http://nginx.org/r/include
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
(()) around mp4 in the locations look unnecessary.
But if it does what you want, it's good.
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
to change first; you changed
that one; and the error state no longer applies.
It looks perfect from here.
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 does the error log say?
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
would seem to be simplest.
You can always patch your source, if you can't find another way to do
what you want.
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
in a server block, which is at http://nginx.org/r/listen
The answer to your original question:
Does having a listen directive in a server block over ride blocks without?
is yes, if the listen directive is different from the default.
f
--
Francis Dalyfran...@daoine.org
or don't load the tracking code, but I want to
force the Piwik dashboard to open in HTTPS.
These words don't obviously directly translate to your config file
snippet above. What request is the Piwik dashboard? What request is
certain components?
f
--
Francis Dalyfran...@daoine.org
On Tue, Aug 20, 2013 at 04:05:09PM -0700, Paul N. Pace wrote:
On Tue, Aug 20, 2013 at 2:44 PM, Francis Daly fran...@daoine.org wrote:
On Mon, Aug 19, 2013 at 02:53:36PM -0700, Paul N. Pace wrote:
Hi there,
I am trying to set up a conf file for Piwik installations and I'm
hoping a second
, whatever
method you have to turn the certificate into a username can be opaque
to nginx, so it can be as complicated as you like.
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman
/ */
}
}
How should set this location to serve the files from outside the public
folder?
http://nginx.org/r/location
Probably one of location ^~ /private/; or else location ~
/private/*.\php$ before your location ~ \.php$, should work.
f
--
Francis Dalyfran...@daoine.org
On Mon, Aug 26, 2013 at 11:12:15PM +0100, Francis Daly wrote:
Probably one of location ^~ /private/; or else location ~
/private/*.\php$ before your location ~ \.php$, should work.
That's ^/private/*\.php$, of course. Fat fingers...
f
--
Francis Dalyfran...@daoine.org
on http user, so that's fine.
+x doesn't allow you to create files in a directory.
+w allows you to create files in a directory.
I don't understand how I fix my problem.
Does the error log give any indication of the problem?
f
--
Francis Dalyfran...@daoine.org
.
But it might make more sense to call it $continent_region, and let it
take values for the whole world.
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
should work in most similar cases; but the
details will likely differ each time.
All the best,
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
On Thu, Sep 05, 2013 at 01:05:17AM +0100, Francis Daly wrote:
Hmm...
location ~ ^/.*[/.] {
That's probably more briefly written as
location ~ .[/.] {
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
expect
nginx to do.
But the blog - /blog change may be enough to get things going.
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
are trying to prevent, and what
you are not trying to prevent, then the solution may become clear --
or it may become clear that it is not possible.
But any uncertainty or lack of clarity in the requirements will make it
hard to confirm that the proposed solution is adequate.
f
--
Francis Daly
needed to achieve it may become clear.
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
looking for?
Building your own php framework, and making it work with nginx.
If you search for how every other framework does this, you may find
useful hints as to how your one will work.
Good luck with it,
f
--
Francis Dalyfran...@daoine.org
from there will bring you to the
merge_slashes directive.
http://nginx.org/r/merge_slashes
Set that to off if you want contiguous slashes in the request not to
become a single slash in this server{} bock.
f
--
Francis Dalyfran...@daoine.org
?
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
or port 9
and
curl http://localhost:8080/?key=
followed by some bytes, I don't see any difference in the bytes in
the to-8080 GET /?key= and the to-9 QUERY_STRINGkey= parts of the
tcpdump output.
What am I doing that is different to you?
f
--
Francis Dalyfran...@daoine.org
for anything that should
not match the pattern you have shown, such as /login.)
All the alias lines you've shown look equivalent to a single root
/var/www at server-level -- that might simplify things, depending on
what else you plan to use the server for.
f
--
Francis Dalyfran
http://127.0.0.1:8080/one
curl -i http://127.0.0.1:8080/two
curl -i -H Surprise:value http://127.0.0.1:8080/one
with what you expect to get.
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http
configuration you use, so that
someone else can copy-paste it and see the same problem that you see.
(Change 127.0.0.1:9009 to be whatever remote server runs your fastcgi
server, if that makes it easier to run tcpdump.)
Good luck with it,
f
--
Francis Dalyfran...@daoine.org
individually,
or something else if you want to group some spiders together.)
Then define
limit_req_zone $is_spider zone=slow:10m ...;
instead of what you currently have.
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx
you expect it to? And, in case it is not clear, describe
how what it does do is not what you expect.
Best would probably be if you can show the curl -i or curl -v output.
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx
On Sun, Oct 20, 2013 at 03:11:04PM -0400, agriz wrote:
after adding error_page 404 /404.php
it works for other files which are not php. It calls the error page.
But if it is a php file, it shows File not found.
http://nginx.org/r/fastcgi_intercept_errors
f
--
Francis Daly
access the server via the LAN and my laptop.
Probably not. Does the laptop via the internet show the same behaviour?
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo
request is handled in one location.
Put all of the configuration that you want to apply to a request, within
the one location{} block that handles that request.
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
a different limit_req zone for each rate.
After you've got the first part working, it shouldn't be too hard to
set up a test system to see if you can get this part to work too.
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx
$ {}, or it might be that nested inside
location ^~ /installdirectory/ {}
depending on what else you want in the server config.
http://nginx.org/r/location for how the one location{} is chosen to
handle a request.
f
--
Francis Dalyfran...@daoine.org
On Fri, Oct 25, 2013 at 01:25:10PM +0200, Philipp Kraus wrote:
Am 25.10.2013 um 10:01 schrieb Francis Daly fran...@daoine.org:
Hi there,
https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+behind+an+NGinX+reverse+proxy
looks like it may have useful information.
I have used this how
1 - 100 of 1614 matches
Mail list logo