summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xpublish.sh8
-rw-r--r--www.starfall.systems6
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;
-	}
 }