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
|
src: my.cnf
|
||||||
dest: /etc/etherpad/mysql/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
|
- name: Install robots.txt
|
||||||
copy:
|
copy:
|
||||||
src: robots.txt
|
src: robots.txt
|
||||||
dest: /var/etherpad/robots.txt
|
dest: /var/etherpad/www/robots.txt
|
||||||
|
|
||||||
- name: Install apache2
|
- name: Install apache2
|
||||||
apt:
|
apt:
|
||||||
|
@ -95,5 +95,9 @@
|
|||||||
ProxyPassReverse / http://localhost:9001/
|
ProxyPassReverse / http://localhost:9001/
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
||||||
|
<Directory /var/etherpad/www/>
|
||||||
|
Require all granted
|
||||||
|
</Directory>
|
||||||
|
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user