diff options
| -rw-r--r-- | nginx/homepage.conf | 4 | ||||
| -rwxr-xr-x | scripts/setup.sh | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/nginx/homepage.conf b/nginx/homepage.conf index e6dd965..7f4c19b 100644 --- a/nginx/homepage.conf +++ b/nginx/homepage.conf @@ -1,4 +1,8 @@ server { + listen 80 ; + listen [::]:80 ; + server_name jackjamison.xyz ; + location / { root /var/www/homepage; index index.html; diff --git a/scripts/setup.sh b/scripts/setup.sh index d9fb749..49ba2d7 100755 --- a/scripts/setup.sh +++ b/scripts/setup.sh @@ -1,5 +1,5 @@ #!/bin/bash -ln -sf $(pwd)/nginx/homepage.conf /etc/nginx/sites-enabled/homepage.conf +cp ./nginx/homepage.conf /etc/nginx/sites-enabled/homepage.conf mkdir /var/www/homepage/ rsync -av --delete ./zola-static/public/ /var/www/homepage/ |
