This commit is contained in:
Bachir Soussi Chiadmi 2024-06-18 15:09:32 +02:00
parent 7390c5d9be
commit a4abd14a89
1 changed files with 4 additions and 3 deletions

View File

@ -47,8 +47,9 @@ add to your /etc/hosts :
127.0.0.1 dev.phpmyadmin.caravane.fr 127.0.0.1 dev.phpmyadmin.caravane.fr
``` ```
configure your vhosts to add a reverse proxy that will redirect the dev.caravane.fr to our container configure your vhosts to add a reverse proxy that will redirect the dev.caravane.fr to our container
Apache Apache
``` ```apache
<Virtualhost *:80> <Virtualhost *:80>
ServerName dev.caravane.fr ServerName dev.caravane.fr
ProxyPass / http://127.0.0.1:8990/ ProxyPass / http://127.0.0.1:8990/
@ -60,7 +61,7 @@ Apache
proxy_busy_buffers_size 256k; proxy_busy_buffers_size 256k;
</Virtualhost> </Virtualhost>
``` ```
``` ```apache
<Virtualhost *:80> <Virtualhost *:80>
ServerName dev.phpmyadmin.caravane.fr ServerName dev.phpmyadmin.caravane.fr
ProxyPass / http://127.0.0.1:8991/ ProxyPass / http://127.0.0.1:8991/
@ -73,7 +74,7 @@ Apache
</Virtualhost> </Virtualhost>
``` ```
nginx nginx
``` ```nginx
server { server {
listen 80; listen 80;
server_name dev.caravane.fr; server_name dev.caravane.fr;