mirror of
https://github.com/standardebooks/web.git
synced 2025-07-08 15:50:29 -04:00
Rearrange filesystem layout, and add configuration files
This commit is contained in:
parent
0acc64cb06
commit
8f33a1021c
18 changed files with 590 additions and 57 deletions
|
@ -65,7 +65,7 @@ server {
|
|||
listen 80 default_server;
|
||||
listen [::]:80 default_server;
|
||||
|
||||
root /standardebooks.org/www;
|
||||
root /standardebooks.org/web/www;
|
||||
index index.php index.html index.htm index.xml index.nginx-debian.html;
|
||||
|
||||
server_name _;
|
||||
|
@ -109,7 +109,7 @@ if ! grep "^export PATH=$PATH:~/.local/bin$" ~/.bashrc; then
|
|||
fi
|
||||
|
||||
ln -fs /standardebooks.org/scripts/sync-ebooks ~/.local/bin/sync-ebooks
|
||||
ln -fs /standardebooks.org/scripts/deploy-ebook-to-www ~/.local/bin/deploy-ebook-to-www
|
||||
ln -fs /standardebooks.org/web/scripts/deploy-ebook-to-www ~/.local/bin/deploy-ebook-to-www
|
||||
EOF
|
||||
|
||||
chown -R www-data:www-data /var/www
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue