Skip to content

Commit 926a5aa

Browse files
committed
nginx: add tales site
1 parent 34cd5e8 commit 926a5aa

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

  • ctor/etc/nginx/sites-available
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
server {
2+
listen 443 ssl;
3+
server_name tales.codingteam.org.ru;
4+
keepalive_timeout 60;
5+
ssl_certificate /etc/letsencrypt/live/loglist.net/fullchain.pem;
6+
ssl_certificate_key /etc/letsencrypt/live/loglist.net/privkey.pem;
7+
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
8+
ssl_ciphers "HIGH:!aNULL:!MD5:!kEDH";
9+
add_header Strict-Transport-Security 'max-age=15552000';
10+
11+
location / {
12+
alias /opt/codingteam/tales/;
13+
index index.html;
14+
}
15+
}
16+
17+
server {
18+
listen 80;
19+
server_name tales.codingteam.org.ru;
20+
21+
location / {
22+
rewrite ^(.*)$ https://tales.codingteam.org.ru$1 permanent;
23+
}
24+
}

0 commit comments

Comments
 (0)