11 messages in ru.sysoev.nginxquestion about proxy_store
FromSent OnAttachments
eliottJan 26, 2008 7:18 pm 
Cliff WellsJan 27, 2008 9:10 pm 
eliottJan 27, 2008 10:13 pm 
Igor SysoevJan 27, 2008 10:21 pm 
eliottJan 27, 2008 10:31 pm 
Igor SysoevJan 27, 2008 10:58 pm 
Volodymyr KostyrkoJan 28, 2008 12:54 am 
Igor SysoevJan 28, 2008 1:36 am 
Cliff WellsJan 28, 2008 2:11 am 
Volodymyr KostyrkoJan 28, 2008 2:49 am 
eliottJan 28, 2008 7:06 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:question about proxy_storeActions...
From:eliott (elio@public.gmane.org)
Date:Jan 26, 2008 7:18:03 pm
List:ru.sysoev.nginx

I am having problems with proxy being unable to store pages that do not have a file extension (such as a directory or "nice url").

1. User requests http://domain.com/page/hello/ 2. nginx looks in the root, can not find the page. 3. nginx uses the error page, which then calls a proxy pass inside a location 4. nginx fetches the page. 5. nginx cannot save the results, because it is /page/hello/ nginx does create the /page/hello/ directory inside the proxy_store directory though.

####

It could very well be a problem with my configuration. It works for urls with file extensions.

location ^~ /fetch/ { internal; include proxy.conf; proxy_set_header X-Real-IP $remote_addr; proxy_pass http://127.0.0.1:9001/; proxy_store /var/www/data/domain.com$uri; proxy_store_access user:rw group:rw all:r; }

location / { root /var/www/data/doman.com/fetch; error_page 404 = /fetch$uri; }