equal
deleted
inserted
replaced
|
1 #!/bin/bash |
|
2 |
|
3 mkdir -p /srv/www/tips |
|
4 chown user:user /srv/www/tips |
|
5 |
|
6 cat <<'EOF' >/etc/lighttpd/conf-available/92-tips.conf |
|
7 $HTTP["host"] == "tips.defun.work" { |
|
8 server.document-root = "/srv/www/tips/" |
|
9 } |
|
10 EOF |
|
11 |
|
12 lighttpd-enable-mod tips |
|
13 |