Custom Query (2296 matches)
Results (25 - 27 of 2296)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#42 | fixed | Add mime.type for .m4v files | ||
Description |
.m4v files are Apple's version of MPEG4 and according to http://en.wikipedia.org/wiki/M4V their mime.type is video/x-m4v They can be used with Flash-based players and lack of proper Content-type header creates issues in (at least) Firefox. Attached is the trivial patch. |
|||
#44 | fixed | IPv6 support for HTTP realip module | ||
Description |
The attached patch, based on r4232, implements IPv6 support for the realip HTTP module (set_real_ip_from). |
|||
#45 | fixed | Некорректная обработка директив конфига | ||
Description |
Если в конфиге несколько вирт. хостов, и хотя бы для одного из них включено кэширование (директивой proxy_cache), то при проксировании запросов заголовки, управляющие кэшированием (If-Modified-Since, If-None-Match), не передаются бэкэнду для других хостов (может быть, и локэйшн тоже) даже если те не должны кэшироваться nginx. Попытка ручной установки заголовков приводит к 404 ошибке. Пример, на котором баг вопроизводится (опускаю не относящиеся к теме настройки): http { proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_cache_path /opt/local/var/run/nginx/cache/images levels=1 keys_zone=images:1h max_size=1m; server { location / { proxy_pass http://apache; proxy_cache images; proxy_cache_valid 200 301 302 304 1h; proxy_hide_header "Set-Cookie"; proxy_ignore_headers "Cache-Control" "Expires"; } } server { location ~* \.jpg$ { proxy_pass http://apache; #backend will never get if-modified-since headers } } } |