redirects

master
Matthew 2024-12-20 19:20:36 -05:00
parent b9941e4130
commit 7245acff4c
Signed by: matthew
SSH Key Fingerprint: SHA256:piIXekA9q1p0ZGi4ogFbNY1embip5Ytbi3v8AZ8UYq4
1 changed files with 0 additions and 11 deletions

View File

@ -1,17 +1,6 @@
server { server {
listen 443 ssl http2 default_server; listen 443 ssl http2 default_server;
listen [::]:443 ssl http2 default_server; listen [::]:443 ssl http2 default_server;
server_name libraryofcode.org;
ssl_certificate /etc/ssl/private/ev.chain.crt;
ssl_certificate_key /etc/ssl/private/ev.key.pem;
return 301 https://www.libraryofcode.org$request_uri;
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name www.libraryofcode.org; server_name www.libraryofcode.org;
ssl_certificate /etc/ssl/private/ev.chain.crt; ssl_certificate /etc/ssl/private/ev.chain.crt;