add redirect conf for artboard
This commit is contained in:
parent
98e6b50aed
commit
78692dd2db
2 changed files with 7 additions and 2 deletions
2
files/artboard/redirect.conf
Normal file
2
files/artboard/redirect.conf
Normal file
|
@ -0,0 +1,2 @@
|
|||
RedirectMatch "^/$" /artboard/
|
||||
|
|
@ -54,8 +54,11 @@
|
|||
- name: link artboard into /var/www/html
|
||||
action: file state=link src=/srv/persist/artboard path=/var/www/html/artboard
|
||||
|
||||
- name: add artboard apache conf
|
||||
action: copy src=$files/artboard/artboard.conf dest=/etc/httpd/conf.d/artboard.conf backup=True
|
||||
- name: add apache confs
|
||||
action: copy src=$files/artboard/$item dest=/etc/httpd/conf.d/$item backup=True
|
||||
with_items:
|
||||
- artboard.conf
|
||||
- redirect.conf
|
||||
notify: restart httpd
|
||||
|
||||
- name: startup apache
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue