添加caching位置块时,nginx proxypass内容404s
我的Nginxconfiguration的位置块添加expires max内容是导致/internal代理网站的内容的问题。 注释expires max位置块允许代理站点按预期工作。 Nginx错误日志 2011/11/22 15:51:23 [error] 22124#0: *2 open() "/var/www/internal/static/javascripts/lib.js" failed (2: No such file or directory), client: 127.0.0.1, server: example.com, request: "GET /internal/static/javascripts/lib.js?0.6.11RC1 HTTP/1.1", host: "example.com", referrer: "https://example.com/internal/" 浏览器错误 lib.js Failed to load resource: the server responded with a status of 404 (Not Found) proxy.conf location /internal { proxy_pass http://localhost:10001/internal/; include proxy.inc; […]