jeudi 21 mai 2015

Ember-cli ProxyPass

I'm developing an app using emper-cli and it need to send http request to a server using a ProxyPass.

My server looks like this : http://ift.tt/1BeeBbE and Ember-cli create by default http://localhost:4200/

I tried to do this in my http.conf :

ProxyPass /api/clients http://ift.tt/1AhJ7GE

This is working fine for http://localhost/api/clients, but I don't know how to make it works with a non standard port such as 4200.

I also try to create a virtualHost but it's the same :

<VirtualHost *:4200>
    ProxyPass /api/clients http://ift.tt/1AhJ7GE
</VirtualHost>

How can I do that ?




Aucun commentaire:

Enregistrer un commentaire