redirects
parent
13ab525ad5
commit
b9941e4130
|
@ -1,6 +1,17 @@
|
||||||
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;
|
||||||
|
|
Loading…
Reference in New Issue