Hi,

sorry to bring up an old topic, but does anyone have solved this issue for 
apache virtualhost ?
I have similar issue at this adress :
Load correctly: 
http://blog.souscritoo.com/static/fr-fr/grappelli/tinymce/jscripts/tiny_mce/plugins/advimage/image.htm
Do not load correctly: 
http://blog.souscritoo.com/asset_proxy/?u=http://blog.souscritoo.com/static/fr-fr/grappelli/tinymce/jscripts/tiny_mce/plugins/advimage/image.htm

Thanks !

Le jeudi 7 février 2013 01:13:42 UTC+1, Sachin Shende a écrit :
>
> I was wondering if anyone has an equivalent apache conf settings to fix 
> this issue. I am getting blank html screen when ssl is enabled. Inside 
> virtualhost I have following:
>     RequestHeader set X-Forwarded-Proto "https"
>     ProxyRequests Off
>     ProxyPreserveHost On
>     ServerName  www.myservername.com
>     
>     SSLProxyEngine on
>     SSLEngine On
>     SSLCertificateFile path_to.crt
>     SSLCertificateKeyFile path_to.key
>
> Thanks
> Sachin
>
>
> On Tuesday, 14 August 2012 22:15:39 UTC+1, Stephen McDonald wrote:
>>
>> Not sure if that was in the nginx.conf provided by Mezzanine at some 
>> point, but it's currently the following which should work either way:
>>
>> proxy_set_header    X-Forwarded-Protocol    $scheme;
>>
>> On Tue, Aug 14, 2012 at 11:10 AM, Josh B <[email protected]> 
>> wrote:
>>
>>> Thanks Guys. Lorin your solution fixed it for me. I had to take out the 
>>> "proxy_set_header X-Forwarded-Protocol   ssl;" since I am not running SSL.
>>>
>>> Probably need to add this to the docs for other people.
>>>
>>> On Monday, August 13, 2012 9:29:53 AM UTC-6, Lorin Hochstein wrote:
>>>
>>>> On Aug 13, 2012, at 2:07 AM, Josh B <[email protected]> 
>>>> wrote:
>>>>
>>>> Stumped on this issue. Not seeing any JS or Python errors. I just 
>>>> upgraded to see if that would fix the issue, but it did not. If anyone has 
>>>> any ideas or suggestions, I am open.
>>>>
>>>>
>>>> Josh:
>>>>
>>>> Are you running behind a web server? We faced the same problem when 
>>>> running with gunicorn and nginx with ssl. In our case, we had to set some 
>>>> additional nginx proxy options to get it to do the right thing:
>>>>
>>>>     location  / {
>>>>         proxy_redirect        off;
>>>>         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_set_header      X-Forwarded-Protocol   ssl;
>>>>         proxy_pass            http://127.0.0.1:8000;
>>>>         client_max_body_size  10m;
>>>>     }
>>>>
>>>> You can also search for "static_proxy", which relate to how mezzanine 
>>>> proxies the content for TinyMCE to avoid cross-site-scripting blockers. 
>>>>
>>>>
>>>> Take care,
>>>>
>>>> Lorin
>>>> --
>>>> Lorin Hochstein
>>>> Lead Architect - Cloud Services
>>>> Nimbis Services, Inc.
>>>> www.nimbisservices.com
>>>>
>>>>
>>>>
>>>>
>>>>
>>
>>
>> -- 
>> Stephen McDonald
>> http://jupo.org
>>  
>

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to