Skip to content
Snippets Groups Projects
conf_apache_dev.md 659 B
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 )
# configuration apache
dans la configuration apache generale (httpd.conf ou commande a2enmod ), activer les modules :
* mod_headers
* mod_proxy
* mod_ssl
* mod_proxy_http


```
 <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


![image.png](./image.png)