Skip to content

Commit

Permalink
Add owlcorp.uk landing page
Browse files Browse the repository at this point in the history
  • Loading branch information
jb3 committed Sep 19, 2024
1 parent 6e0b146 commit eb658b9
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions ansible/host_vars/lovelace/nginx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,3 +110,23 @@ nginx_configs:
include fastcgi_params;
}
}
owlcorp.uk.conf: |
server {
listen 443;
listen [::]:443;
server_name owlcorp.uk;
root /var/www/owlcorp.uk;
ssl_certificate /etc/letsencrypt/live/owlcorp.uk/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/owlcorp.uk/privkey.pem;
location /.well-known/webfinger {
add_header Access-Control-Allow-Origin '*';
return 301 https://social.owlcorp.uk$request_uri;
}
location / {
try_files $uri $uri/ =404;
}
}

0 comments on commit eb658b9

Please sign in to comment.