blob: 8de72df7296b71b23159716c5b4ac54662ae0b9f (
plain) (
tree)
|
|
---
- name: Set up Nginx as root
become: true
block:
- name: Install Nginx
apt:
name: nginx
state: present
- name: Add proxy configuration
template:
src: etherpad.nginx.conf
dest: /etc/nginx/sites-available/pad.emacsconf.org
- name: Enable site
file:
src: /etc/nginx/sites-available/pad.emacsconf.org
dest: /etc/nginx/sites-enabled/pad.emacsconf.org
state: link
- name: Reload nginx
service:
name: nginx
state: reloaded
|