11 lines
269 B
Bash
11 lines
269 B
Bash
#!/usr/bin/env bash
|
|
|
|
set -xe
|
|
|
|
sudo mv /tmp/wallabag-nginx.conf \
|
|
/etc/nginx/sites-available/wallabag.conf
|
|
sudo ln -s /etc/nginx/sites-available/wallabag.conf \
|
|
/etc/nginx/sites-enabled/
|
|
sudo unlink /etc/nginx/sites-enabled/default
|
|
sudo systemctl enable nginx
|