Skip to content
Commit e2980920 authored by Grazyna Jaworska's avatar Grazyna Jaworska
Browse files

Nginx: Fix the typo - the control file should be /etc/nginx/basic_nginx.conf

To enable basic config:

$ touch /etc/nginx/basic_nginx.conf
$ su -s /bin/bash - aegir -c "drush @hostmaster hosting-task @server_master verify --force -d"

To enable extended config:

$ rm -f /etc/nginx/basic_nginx.conf
$ su -s /bin/bash - aegir -c "drush @hostmaster hosting-task @server_master verify --force -d"

Note that only basic->extended switch is safe, while extended->basic switch will break sites config, until all vhosts will be re-verified to use correct include and match updated main, bare bones config. A simple workaround would be to replace the included config file with:

$ cd /var/aegir/config/includes/
$ cp -af nginx_simple_include.conf nginx_advanced_include.conf
$ service nginx reload
parent c4b26d12
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment