Grant access to robots.txt
Apache doesn't like serving files it hasn't been allowed to. Change-Id: I1113c44f9621229074804d60eba7549ae1236583
This commit is contained in:
parent
3469673a11
commit
d231d6177e
@ -28,10 +28,15 @@
|
||||
src: my.cnf
|
||||
dest: /etc/etherpad/mysql/my.cnf
|
||||
|
||||
- name: Make directory for robots.txt
|
||||
file:
|
||||
path: /var/etherpad/www
|
||||
state: directory
|
||||
|
||||
- name: Install robots.txt
|
||||
copy:
|
||||
src: robots.txt
|
||||
dest: /var/etherpad/robots.txt
|
||||
dest: /var/etherpad/www/robots.txt
|
||||
|
||||
- name: Install apache2
|
||||
apt:
|
||||
|
@ -95,5 +95,9 @@
|
||||
ProxyPassReverse / http://localhost:9001/
|
||||
</IfModule>
|
||||
|
||||
<Directory /var/etherpad/www/>
|
||||
Require all granted
|
||||
</Directory>
|
||||
|
||||
</VirtualHost>
|
||||
</IfModule>
|
||||
|
Loading…
Reference in New Issue
Block a user