Skip to content
Snippets Groups Projects

Resolve "/wp-admin redirects to :8080"

Merged Maarten de Waard requested to merge 117-wp-admin-redirects-to-8080 into main
Compare and Show latest version
4 files
+ 2
51
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -104,22 +104,11 @@
- name: Directory permissions set default
shell: wp {{ cli_args }} config set 'FS_CHMOD_FILE' {{ WP_FILES_MODE }} --raw --type=constant
- name: Set WP_SITEURL
shell: wp {{ cli_args }} config set 'WP_SITEURL' "'{{ WP_URL }}'" --raw --type=constant
- name: Set WP_HOME
shell: wp {{ cli_args }} config set 'WP_HOME' "'{{ WP_URL }}'" --raw --type=constant
- name: Copy htaccess config file
template:
src: templates/htaccess
dest: "{{ wordpress_homedir }}/.htaccess"
- name: Add VirtualHost configuration
template:
src: templates/virtualhost.conf
dest: "/etc/apache2/sites-available/000-default.conf"
- name: Comment close options
shell: wp {{ cli_args }} option set close_comments_days_old 90
Loading