Running multiple WordPress sites using a single FrankenPHP container #764
binaryfire
started this conversation in
General
Replies: 1 comment 4 replies
-
In this particular case, you probably want to simply handle all requests to a respective folder and keep doing whatever you are doing for nginx. Perhaps doing something similar to what we did at Automattic: have in your public folder an index.php that looks at the current domain, whether it is valid, then simply |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all. In the docs, I see this config for running multiple sites:
Is this the best way to handle multiple WP sites with minimal resource usage? Regarding security - these sites are client sites which are all fully locked down. Clients don't have admin roles, can't upload plugins or themes, or modify any sensitive settings etc. They can only edit posts and pages, upload media etc. Public user registration is also disabled. It's very similar to multisite except using separate installs.
I'm trying to minimise server resource usage so running a separate container per client wouldn't be ideal.
I'm not using SSL - the sites are behind a NGINX load balancer which is handling SSL termination. AutoSSL etc will all be fully disabled. So I'm also wondering if there's an easier way to handle adding / removing sites than programmatically rebuilding the Caddyfile each time
Beta Was this translation helpful? Give feedback.
All reactions