Commit 41e403f4 authored by Aral Balkan's avatar Aral Balkan
Browse files

Fixed the server paths and moved home folder.

parent 4488cb62
Pipeline #324 skipped
......@@ -150,6 +150,9 @@ echo -e " * Carrying out site settings template substitutions…"
sudo sed -i "s/{SERVER_NAMES}/${serverName}/g" /etc/nginx/sites-available/http.conf
sudo sed -i "s/{SERVER_NAMES}/${serverName}/g" /etc/nginx/sites-available/https.conf
# Create the home directory
mkdir /home/archive
#
# Configure TLS using Let’s Encrypt
#
......
......@@ -5,11 +5,11 @@ server {
listen 443;
server_name {SERVER_NAMES};
ssl on;
ssl_certificate /etc/letsencrypt/certs/better.fyi/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/certs/better.fyi/privkey.pem;
ssl_certificate /etc/letsencrypt/certs/archive.better.fyi/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/certs/archive.better.fyi/privkey.pem;
# Serve the site from the git repository.
root /home/git/site/;
root /home/archive/;
index index.html index.htm;
# Make site accessible from http://localhost/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment