add root to run wordpress
This commit is contained in:
parent
66c848525f
commit
a06dccd2e6
|
|
@ -1,5 +1,3 @@
|
|||
Listen 8000
|
||||
|
||||
<VirtualHost *:8000>
|
||||
SSLEngine off
|
||||
DocumentRoot /var/www/html/wordpress
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
- name: Import Wordpress
|
||||
remote_user: ansible
|
||||
become: true
|
||||
ansible.builtin.import_tasks: wordpress.yml
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
define('DB_USER', '{{ mysql_user_name }}');
|
||||
define('DB_PASSWORD', '{{ mysql_user_pass }}');
|
||||
define('DB_HOST', 'localhost');
|
||||
define('WP_CONTENT_DIR', '/var/lib/wordpress/wp-content');
|
||||
define('WP_CONTENT_DIR', '/var/www/html/wordpress/wp-content');
|
||||
define('WP_HOME', 'https://192.168.3.2/blog/');
|
||||
define('WP_SITEURL', 'https://192.168.3.2/blog/');
|
||||
?>
|
||||
|
|
|
|||
Loading…
Reference in New Issue