Hi,
I added a expires as follow:
location ~ ^/images/ {
root /var/www
expires max;
}
if I do a curl -I http://localhost/images/sample.jpg, I got following
headers, but can not find the "Expires" in the headers, what I did wrong
here? Thanks.
HTTP/1.1 200 OK
Server: nginx/1.4.1
D
On Tue, Jun 18, 2013 at 03:22:04PM -0400, Ben Johnson wrote:
Hi there,
> The try_files directive is brilliant. The only problem I'm having is
> that I would like to be able to force a trailing-slash, a la "rewrite",
> on the fallback URL.
> This works well, but I have a need to eliminate duplica
Hello,
On Tue, Jun 18, 2013 at 3:22 PM, Ben Johnson wrote:
> Hello,
>
> Brand new to nginx and loving it so far. Thanks to all who contribute to
> the project.
>
> The try_files directive is brilliant. The only problem I'm having is
> that I would like to be able to force a trailing-slash, a l
Hello,
Brand new to nginx and loving it so far. Thanks to all who contribute to
the project.
The try_files directive is brilliant. The only problem I'm having is
that I would like to be able to force a trailing-slash, a la "rewrite",
on the fallback URL.
The try_files documentation at
http://wik
Hi agentzh,
Thanks for the response. It is not happening on my uat site as I have redone
the configuration and tested with the full setup. However it happened on my
try out setup where I did not want image/* content-type to be cached.
2013/06/12 15:51:43 [info] 11016#0: *19 key: "%252fsanta.jpg"
> Replace
>
> [nginx*]
> env.url http://localhost/nginx_status
>
> with
> [nginx_*]
> user root
Thanks!
- Grant
> my nginx default file
>
> egrep -v "(^$|^#)" /etc/nginx/sites-enabled/default
> server {
> listen 80; ## listen for ipv4
> listen [::]:80 default ipv6only=on; ##
Replace
[nginx*]
env.url http://localhost/nginx_status
with
[nginx_*]
user root
my nginx default file
egrep -v "(^$|^#)" /etc/nginx/sites-enabled/default
server {
listen 80; ## listen for ipv4
listen [::]:80 default ipv6only=on; ## listen for ipv6
server_name local
> My config looks like:
>
> /etc/munin/plugin-conf.d/munin-node
>
> ...
> [nginx_*]
> user root
>
> /etc/nginx/sites-enabled/default
I don't have /etc/nginx/sites-enabled/ at all. What kind of stuff is
in the default file? I'm on Gentoo.
- Grant
> ...
> ## munin nginx status (request/ connect
My config looks like:
/etc/munin/plugin-conf.d/munin-node
...
[nginx_*]
user root
/etc/nginx/sites-enabled/default
...
## munin nginx status (request/ connections handeled)
location /nginx_status {
stub_status on;
access_log off;
allow 127.0.0.1;
deny all;
}
...
This runs for me v
>> > I'm having some trouble getting the nginx plugin working for munin.
>> > I've added the following to nginx config and restarted:
>> >
>> > location /nginx_status {
>> > stub_status on;
>> > access_log off;
>> > allow 127.0.0.1;
>> > deny all;
>> > }
>> >
>> > I've added the following munin con
Hi Wong, hi Vasil
I did restart nginx and reloaded the browser while I was setting up this
virtual server yesterday several times.
Strangely, this morning when I started my computer all worked well. Maybe I
needed to restart the network or something else?
Thanks very much for your help.
Janet
11 matches
Mail list logo