- \r
- if (!-f $request_filename) {\r
- include /etc/nginx/fastcgi_params;\r
- fastcgi_pass web_backend;\r
- break;\r
+ \r
+ #Handle Special Case Expiry\r
+ location ~ ^/(export|openlayers)/ {\r
+ expires 7d;\r
+ }\r
+ location ~ ^/(images|javascripts|stylesheets)/ {\r
+ expires max;\r
+ }\r
+ \r
+ location / {\r
+ fastcgi_index index.html;\r
+ if (!-f $request_filename) {\r
+ fastcgi_pass web_backend;\r
+ break;\r
+ }\r