Open diroots opened 7 years ago
This is a good request. I'll need to think about it a bit and I'll try to write up something!
Hi
As I can discover by parsing the roles, a complete configuration for a site consists in :
am I complete with this listing ?
I have noticed that if I remove some sites from the inventory/hosts :
I believe thid kind of site deletion could be initiated with an argument like 'state=absent' in their inventory/host line, then we could initiate a global 'debops wordpress' run, or even narrow it with 'debops wordpress --limit DOMAINTOREMOVE'
@carlalexander hello. any news on this point? can you give some hints on how to cleanly remove some sites?
Yeah sorry @diroots. Been busy and I haven't had a chance to work on the project lately. The key things to remove are:
/etc/nginx/sites-enabled/{ wordpress__domain }}
/etc/pki/realms/{ wordpress__domain }}
/var/www/{ wordpress__domain }}
Hello there.
I followed this guide https://github.com/carlalexander/debops-wordpress/wiki/How-to-configure-multiple-WordPress-sites-on-a-single-server to manage multiple wordpress sites on a single server.
all wordpress sites on the server are defined through a dns wildcard pointing to the server's ip:
As many points are configured for a single wordpress site, i'd like to know how to correctly purge the server about any configuration for a site I want to remove / delete from the server (webroot folder, nginx vhosts configs, unix users, fw rules, databases, varnish config,.... )