Skip to content

Commit

Permalink
testint virtual_path and virtual_dest
Browse files Browse the repository at this point in the history
  • Loading branch information
evertramos committed Mar 13, 2022
1 parent d48ed61 commit adfb91e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ services:
WORDPRESS_DB_PASSWORD: ${DOCKER_WORDPRESS_MYSQL_PASSWORD}
WORDPRESS_TABLE_PREFIX: ${DOCKER_WORDPRESS_TABLE_PREFIX}
VIRTUAL_HOST: ${DOCKER_WORDPRESS_DOMAINS}
# VIRTUAL_PATH: ${DOCKER_WORDPRESS_VIRTUAL_PATH:-"/"}
# VIRTUAL_DEST: ${DOCKER_WORDPRESS_VIRTUAL_DEST:-"/"}
LETSENCRYPT_HOST: ${DOCKER_WORDPRESS_DOMAINS}
LETSENCRYPT_EMAIL: ${DOCKER_WORDPRESS_LETSENCRYPT_EMAIL}
# WORDPRESS_AUTH_KEY: ${DOCKER_WORDPRESS_AUTH_KEY:-null}
Expand Down Expand Up @@ -81,4 +83,5 @@ services:
networks:
docker-wordpress-proxy-network:
external: true
docker-wordpress-db-net:
docker-wordpress-db-net:

8 changes: 8 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Docker WordPres for nginx-proxy-automation

## Challenges

1. Use this setup as a subfolder site along with nginx-proxy VIRTUAL_PATH and VIRTUAL_DEST

We were able to see the site but even with WP_HOME and WP_SITEURL configured with the subpath, the dashboards link wouldn´t work accordingly.

0 comments on commit adfb91e

Please sign in to comment.