added nginx reverse proxi conf

This commit is contained in:
2019-03-11 14:08:13 +01:00
parent 566cc4886b
commit 6a819d8b12
+2 -2
View File
@@ -36,7 +36,7 @@ add to your /etc/hosts :
configure your apache or nginx vhosts to add a reverse proxy that will redirect the dev.encyclopediedelaparole.org to our container configure your apache or nginx vhosts to add a reverse proxy that will redirect the dev.encyclopediedelaparole.org to our container
apache apache
``` ```apache
<Virtualhost *:80> <Virtualhost *:80>
ServerName dev.encyclopediedelaparole.org ServerName dev.encyclopediedelaparole.org
ProxyPass / http://127.0.0.1:8880/ ProxyPass / http://127.0.0.1:8880/
@@ -54,7 +54,7 @@ apache
``` ```
nginx nginx
``` ```nginx
server { server {
listen 80; listen 80;
server_name dev.encyclopediedelaparole.org; server_name dev.encyclopediedelaparole.org;