proxy_store issue
Indo Php
iptablez at yahoo.com
Tue Jan 4 11:41:27 MSK 2011
I found the problem. It seems in the destination host, I used gzip_types
text/plain text/css application/x-javascript text/xml application/xml
application/xml+rss text/javascript;
which is make proxy_store giving a weird file
________________________________
From: Indo Php <iptablez at yahoo.com>
To: nginx at nginx.org
Sent: Tue, January 4, 2011 3:02:26 PM
Subject: Re: proxy_store issue
This error happend also for javascript files.
if video and images is working right away :)
________________________________
From: Indo Php <iptablez at yahoo.com>
To: nginx at nginx.org
Sent: Tue, January 4, 2011 2:59:06 PM
Subject: proxy_store issue
I'm using proxy_store for my css files. It's stored the files very well.
However, when I open the css files, it appear weird character
‹������¥Z[sÛ¶~¶~¦š3sNÆ”uq|a^NëLzÞû: ɨ)’CRvÜNþûÙ@€¤l%©¦™v»ß^¡ÿnuÓšNýrìvÉÝ/ŸfWÔèÏÕöx0e§>\Í»C¡þ™]쪲KÕj]Uê×ÆêâRýÏϦ³[}©~7¥y†[]¶Ik»û4»ØVEÕ¤óårùiöm–Uù+Ð9èfoË]Ô:Ïm¹§ï™Þ>í›êXæ‰l39~pçü¥ÑumšK5ßUUç¿Àʲ1—+ ûbóî1½¿ýXrŽ‹ÒÇ®š$ÿåËxþhìþ±KÇ«ìAïMzlŠ_ílaÚ+{Ø_U]u¨:»»Êö Ê´¨Ëýƒ¨ÕÙƒÈF禹‚ƒ½M“w,þª‰d°1µÑ]ZV
ƒ·rØ|X9Äú†˜÷g_’8,Óµèª:ÑyR1Ûõí÷Ñ~µtÊsvnŠLé’hz/×Èn‰k.vE27¨]ÒGQí+Ïw³dNÂw%òžÂì`‹£K'�’D›(•úÉÖ
Ö
ŠôÁkԱ襢°m—´Ýka’îµ6©*«Ò�SaÓQ…Uh¡$ýÛ¤«kR=xaeUX•cËœÞnÑlª÷Ð�À‚ó9\AÀHz3'¤âܸç¶ýšfEµ}‚¿“Cõw’U
1itnm@éRê‰LÓ-y1Ù“íÄR‚žÐxQ,ëÌ×.ÉͶjtg«@ý¦ÞYqAéô±z&oRð_¯[`p°Ô¢19Yk°RÍ7ÛM¶¹U—f…ƒgå¤tå¬ÚmS…‚ã*6gˆ‡Å¾1¦tr]"_÷Do;ûl¢G϶µÉ¿[("ù]beÅÑDRɃ@(yò£2áöóDÂàà"Ã3ŽZãˆ/‰b.aöû!5ò/0¦—Þ[.pÜAÜB,;XL9”H€ËxsÍî:‘Fûɦˆl8dÅ1Ã¥x-1ØSÞ§„SdÚKÉ)Gàä�JbêÃÅBKì"2J³-ŒF_£SP×£Ïh…-M¯$I?g(‰ó!îNžt©‹ÛŸSràÞo¤ßZ—¦�‘-ûÉqÃFìA$úž-Èf˜p£ã|*EÁÄñҥ˜N™Î›oDnsÇü]ª’eÆQÈÆ8+^RõhóÜ”pš2*ÆLn:m1ѱÑ7wQbNà~õ!&Ha
=8©e@ò{”²DéD)d ?©4›HClªŸËDLã'’Q˜íÇÙÐê*”Å9€)JÄÓe>ãØØ¢[ 2÷ÞKúaY ß]ö—`"Q+W1y\KIAt6Ë:É’ÚöQs¦!@“MÏDBYTuõ¯ýB8‡!&"œKúú|IÊ
Ê >ÕëIP¸Ðqõ9•2)‚¬ ›«¹Ñø…(vÀõ2BøvÊC¸Fš&<$Z™&-õóÊŒZJmùêƒÄr à£çë#Æ¡è–”tØ'‚€ÛthCõrÙ
"ˆfV½Ê%Kc¡•t¶+0!ˆ'=<l>¯6°kÝ‹éÊ£§£CeÛÒ9Û|u8\ݤiÐ Õ¹îPÖ Œg(Ë››\fw>à:99W¨°§I½r¦T.U.ŽEÒÖUÓ]*ÿu=´ëJACQ$q½_
e´:Øt-ÜJ‹YHp¥#Qc¯Bm8©»q
þ°›é;��Hͪ¢¢þªÛ«ÊÑ^{â¼L}Î6ÚÅFjA£¼ï!%2¾”Š”Ž"ÔÇÎ:¨P9ÜÌÁI„„VÄÏ)`ª^!hÈðÿ²ô÷R”Ž]ÒJ\xøÈÀþy!’ïÖø `mQ*9a"'bf�Ð[ô£1èià#æ»»Åùç³5/½]¯¯o6·4þ¡PvØAÉ6÷v"ÒȆ0šøÕ'‹,‚6s¸.$RJ'h?Iò0ÅX8XŒ¨l¨¬ŠÜÆ3ìÓ¯kÝž¹$±.ì¾L·Ðɘ¦W1—Õ!¹„k¬n@<Ì r*AÎûZɵ2“TWÌ+¼T at tÎàd"
Ô¸òôhªRüuÌixDjŽ[C—Ÿ vÃh¡ÜC܃e·»ßâr,Ä
½,`wD»ùYÍ û}©‹8öÎ |fËöOgq’ƒšî禜NõL~ÓbowçNo®£jiÅzqEÊÁA³92à‡dRº,¡SêÍN…³Zq
Šj¨ð`KOĸ•PŠýë¬ÞbÔj 9Ûé]äF <™TaTDg;k:+ÿà°‡I¤&>Ýxê ¾|n9¢¤N«PQ³.Ç�¢
ÇÀc×uS´ð|w‹ïÁ.àKÃLâºHð0Óÿ#)ÕâÇPI~óAw¸Ð‡Üo³ÙÂa*Œ+Y–y‘ÎBÁÄ"0H4ë”S`vã’4E¼Gî@½Öažuw¬1D_ÝÌ©¦
=¼~_¤^�.¢^îªæÀ°üAÙÒ ´K¨wzu>á)eöib¯‹È‹#1V2
uÍp¶g››*ðWI8`O弑«zAÙNuÜÛÈe1Ú¶F¡óû’œÞ©Ev„©!†µ1ίcS¦p¹¢‚ÿ=Æ*’¢ ʉYÑO?GNx' Z R"1O^bz¹¨ð7Knè
2ÿRáÿr)Ôq Tù2F!px�Æ:ê§ôÞ¿(ï}Û5 †Š¢Åi`T”sêXÉ0kx«!áQ†u¢:I,ìÑ�dcä”Tu‡ÌNPtîÌeàwww
:)Ï
äss:ÿü+~<d�L:”òê·ß~#&{]¦yM:…,”-)»»Ö‘’ûNщäöÐßp›.eU]Y®¿Íô¢Óû6êOo1Œ}öú~2iêâµ·©rƒÇ¾¾RíIç‹WnA7j~¯r7ap
Û
1q~æˆârWùzwšAOFi$ä˜l60©€äâ¹UÛcƒ</Uÿ\/Ê㫳€�5³ãýucžÃÍD´§=ÜÙ¦?-tKub><<„llIgñQ¨¿ù<µlòHžÆä¹|½ÛŸÍm
jÑ£7Ñ)£7ñQ£W'Î+Ú–ŠiZA$„¹Þ½bÐ7!8¥{·¡$/³.ºµb.üG%€jOgug’ÇBïÄcê
Here's my config
location @get { proxy_pass http://www.mydomain.com;
proxy_store_access user:rw group:rw all:rw; proxy_set_header
X-Real-IP $remote_addr; proxy_store
/mnt/mirror.mydomain.com$uri; root /mnt/mirror.mydomain.com;
recursive_error_pages on; proxy_intercept_errors on; }
am I doing something wrong?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20110104/428e95c7/attachment-0001.html>
More information about the nginx
mailing list