Anton Shestakov <av6@dwimlabs.net>, Mon, 04 Apr 2016 20:32:07 +0800
provision: set root directory in server directive
contrib/provision/roles/nginx/tasks/main.yml
Permissions: -rw-r--r--
apt: pkg={{ item }} state=present - name: Disable default site file: path=/etc/nginx/sites-enabled/default state=absent - name: Create a Diffie-Hellman key exchange parameters file {% if ansible_virtualization_type == "virtualbox" %}-dsaparam{% endif %} -out /etc/nginx/dh-2048.pem creates: /etc/nginx/dh-2048.pem - name: Allow HTTP and HTTPS ufw: rule=allow name='{{ item }}'