angularjs - Angular and cloudfront with Safari -


we've setup angularjs application on cloudfront has asset files on s3 storage , there used via cloudfront ssl , performance.

we have identical setup described in guide

https://rossfairbanks.com/2015/01/30/integrating-angular-s3-cloudfront.html

as used same post create our own setup, seems though works on browsers except safari.

on safari, when visiting url directly on given path or refreshing sub pages, ui-router redirect user page landing page.

for staging though, have same setup running directly on s3 without cloudfront in middle hence no ssl. but, yet seems work on safari

so, problem seem issue cloudfront , safari more specific.

can advise on cause? , how can solve it?

update: issue might related bug https://bugs.webkit.org/show_bug.cgi?id=24175

angular on aws (cloudfront/s3) safari

i figured out need use https in order safari refresh correctly. can tell s3 redirect https protocol , problem gets solved:

<redirect>     <protocol>https</protocol>     <hostname>test.example.com</hostname>     <replacekeyprefixwith>#!/</replacekeyprefixwith> </redirect> 

Comments

Popular posts from this blog

facebook - android ACTION_SEND to share with specific application only -

python - Creating a new virtualenv gives a permissions error -

javascript - cocos2d-js draw circle not instantly -