-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
Hi!
I've been fighting this for about a week and was wondering if this config is possible with this docker wordpress container.
For a variety of reasons, here is what I want to do:
apache/ssl/reverse proxy <---> port 8100 docker/wordpress container
I want the external URL to be something like https://www.example.com/lab to reverse proxy to/from docker container running on port 8100. The main apache will handle the ssl termination.
So, the content in docker/wp container will be /lab/wp-admin/blahblah and /lab/helloworld/blahblah
What I've struggled with is getting the right settings for site-url, wordpress address, and container .htaccess rewrite rules. What I find is that some of the pages generated will correctly refer to www.example.com/lab but many of the admin pages will not. Plus, some of the test content that would be www.example.com/lab/hello-world can't be found.
Any suggestions on how to configure this? Via logs, I believe I have the main apache/reverse-proxy files set up correctly and the ssl termination.
Thanks,
Bobby