WP behind reverse proxy / public url #913
Neolomoxem
started this conversation in
General
Replies: 1 comment
-
The cleanest way is to set up your reverse proxy to send the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone, quick basic question:
Im running WP via docker compose on a public url. This involves a NGINX proxy. When accessing my site, I noticed that most request fail, due to WP generating URLs for localhost:8080. After changing WP_HOME and WP_SITEURL in wp-config.php (inside the container) things work fine. I'm planning to persist the change by mounting a custom wp-content.php into the container.
Is this the best way to go about it, or am I missing something?
Beta Was this translation helpful? Give feedback.
All reactions