Skip to content

Commit 1c50a4d

Browse files
committed
Configure learn.noeldemartin.social redirect
1 parent 1073792 commit 1c50a4d

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

kanjuro/nginx/noeldemartin.com.conf

+23
Original file line numberDiff line numberDiff line change
@@ -84,3 +84,26 @@ server {
8484
}
8585

8686
}
87+
88+
## learn.noeldemartin.social redirect
89+
90+
server {
91+
listen 80;
92+
listen [::]:80;
93+
server_name learn.noeldemartin.social;
94+
return 301 https://noeldemartin.com/moodlenet;
95+
}
96+
97+
server {
98+
listen 443 ssl http2;
99+
server_name learn.noeldemartin.social;
100+
101+
ssl_certificate /etc/letsencrypt/live/learn.noeldemartin.social/fullchain.pem;
102+
ssl_certificate_key /etc/letsencrypt/live/learn.noeldemartin.social/privkey.pem;
103+
ssl_protocols TLSv1.2;
104+
ssl_ciphers HIGH:!MEDIUM:!LOW:!aNULL:!NULL:!SHA;
105+
ssl_prefer_server_ciphers on;
106+
ssl_session_cache shared:SSL:10m;
107+
108+
return 301 https://noeldemartin.com/moodlenet;
109+
}

0 commit comments

Comments
 (0)