Move certificate lines

This commit is contained in:
Oliver Davies 2017-09-11 07:41:50 +01:00
parent 31814c21d7
commit 1b2ce26bdb

View file

@ -1,3 +1,6 @@
ssl_certificate /etc/letsencrypt/live/oliverdavies.uk/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/oliverdavies.uk/privkey.pem;
server {
listen 80;
@ -22,8 +25,5 @@ server {
root /var/www/oliverdavies.uk/output_prod;
ssl_certificate /etc/letsencrypt/live/oliverdavies.uk/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/oliverdavies.uk/privkey.pem;
rewrite ^/about/?$ / permanent;
}