redirects
parent
b9941e4130
commit
7245acff4c
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue