Anton Shestakov <av6@dwimlabs.net>, Sat, 20 Feb 2016 16:19:00 +0800
remove limit_except GET
Its use is covered at
https://www.mercurial-scm.org/wiki/PublishRepositoriesOnNginx#Reverse_proxy
roles/hgweb/tasks/main.yml
Permissions: -rw-r--r--
apt: pkg={{ item }} state=present - name: Install virtualenv apt: pkg=virtualenv state=present when: ansible_distribution_release == 'jessie' - include: appinstall.yml become_user: '{{ user }}' - name: Add supervisor app template: src=etc/supervisor/conf.d/hgweb.conf dest=/etc/supervisor/conf.d/hgweb.conf - name: Add {{ subdomain }}.{{ hostname }} Nginx site template: src=etc/nginx/sites-available/hgweb dest=/etc/nginx/sites-available/{{ subdomain }}.{{ hostname }} - name: Enable {{ subdomain }}.{{ hostname }} Nginx site file: src=/etc/nginx/sites-available/{{ subdomain }}.{{ hostname }} dest=/etc/nginx/sites-enabled/50{{ subdomain }}.{{ hostname }} state=link