diff options
author | Starfall <us@starfall.systems> | 2024-07-02 19:36:56 -0500 |
---|---|---|
committer | Starfall <us@starfall.systems> | 2024-07-02 19:36:56 -0500 |
commit | 5c2c6d60c949b6912c42230d594b0ab20b210ac5 (patch) | |
tree | 1f3ab5a0b97e73085c41c220e0bb46c48ea49d27 | |
parent | 9164a7cf49c59918c56fb0067897eacd943df6f1 (diff) |
update publish.sh
-rwxr-xr-x | publish.sh | 8 | ||||
-rw-r--r-- | www.starfall.systems | 6 |
2 files changed, 5 insertions, 9 deletions
diff --git a/publish.sh b/publish.sh index c294451..1e7da44 100755 --- a/publish.sh +++ b/publish.sh @@ -1,8 +1,8 @@ set -exuo pipefail npx @11ty/eleventy -mkdir -p /srv/www.starfall.systems -cp -r _site /srv/www.starfall.systems -install www.starfall.systems /etc/nginx/sites-available/www.starfall.systems -sudo nginx -s reload +rsync -avz _site/* starfall.systems:/srv/starfall.systems +# re-enable this some other time - this config file is currently owned by root +# rsync -avz starfall.systems:/etc/nginx/sites-available/starfall.systems +# ssh starfall.systems "sudo nginx -s reload" diff --git a/www.starfall.systems b/www.starfall.systems index bf2edab..e99414b 100644 --- a/www.starfall.systems +++ b/www.starfall.systems @@ -21,10 +21,6 @@ server { server_name starfall.systems; include /etc/nginx/snippets/ssl.conf; - root /srv/starfall.systems/html; + root /srv/starfall.systems; try_files $uri $uri/index.html $uri.html =404; - - location ~ ^/(css/img/js/files)/ { - root /srv/starfall.systems; - } } |