Compare commits

..

No commits in common. "master" and "master" have entirely different histories.

2 changed files with 1 additions and 28 deletions

View File

@ -22,7 +22,7 @@ The subdirectories represent different wordpress deployments:
added redis container to myadmin
**COMMON .env VARIABLES for all the deployments**
**COMMON .env VARIABLES for all the deploymenst**
.env VARIABLES
@ -39,6 +39,3 @@ MYSQL_PASSWORD: the password for the MYSQL_USER
MYSQL_WP_DATABASE: the wordpress database name
EX_PORT: the port to access the wordpress
## nginx configuration file
The nginx configuration file must be placed in the nginx configuration directory of the host that will make reverse proxy to our site

View File

@ -1,24 +0,0 @@
server
{
server_name nombre.servidor.com;
location /phpmyadmin/
{
proxy_pass http://192.168.1.91:8008/; # phpmyadmin container exposed port. Trailing / is very important
proxy_buffering off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $server_name;
proxy_set_header X-Forwarded-Proto https;
}
location /
{
proxy_pass http://192.168.1.91:8009; # WP container exposed port
proxy_buffering off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $server_name;
proxy_set_header X-Forwarded-Proto https;
}
}