Newer
Older
ceci permet de faire tourner le front en local sur /geocontrib
et de faire pointer /api sur n'importe quel backend (dev, local ou autre )
dans la configuration apache generale (httpd.conf ou commande a2enmod ), activer les modules :
* mod_headers
* mod_proxy
```
<Location /geocontrib >
ProxyPass http://localhost:8080/geocontrib
</Location>
SSLProxyEngine On
<Location /api >
ProxyPass https://geocontrib.dev.neogeo.fr/geocontrib/api
RequestHeader set Referer https://geocontrib.dev.neogeo.fr/
</Location>
```
# configuration projet vueJS
