Revize 20513e9f
Přidáno uživatelem Martin Sebela před více než 3 roky(ů)
- ID 20513e9fbd66bbf97c19c368530ecc5b3f30358d
- Rodič 7e44e97f
docker/nginx/sites/default.conf | ||
---|---|---|
1 | 1 |
server { |
2 | 2 |
listen 80; |
3 | 3 |
listen [::]:80; |
4 |
|
|
5 |
# |
|
6 |
# TODO: set website domain |
|
7 |
# |
|
4 | 8 |
server_name heatmap.zcu.cz www.heatmap.zcu.cz; |
5 | 9 |
|
6 | 10 |
location ~ /.well-known { |
... | ... | |
13 | 17 |
server { |
14 | 18 |
listen 443 ssl; |
15 | 19 |
listen [::]:443 ssl; |
20 |
|
|
21 |
# |
|
22 |
# TODO: set website domain |
|
23 |
# |
|
16 | 24 |
server_name www.heatmap.zcu.cz; |
25 |
|
|
26 |
# |
|
27 |
# TODO: set certificate files |
|
28 |
# |
|
17 | 29 |
ssl_certificate /root/.acme.sh/heatmap.zcu.cz/fullchain.cer; |
18 | 30 |
ssl_certificate_key /root/.acme.sh/heatmap.zcu.cz/heatmap.zcu.cz.key; |
31 |
|
|
19 | 32 |
ssl_protocols TLSv1 TLSv1.1 TLSv1.2; |
20 | 33 |
ssl_prefer_server_ciphers on; |
21 | 34 |
ssl_ciphers 'EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH'; |
22 | 35 |
|
36 |
# |
|
37 |
# TODO: set website domain |
|
38 |
# |
|
23 | 39 |
return 301 https://heatmap.zcu.cz$request_uri; |
24 | 40 |
} |
25 | 41 |
server { |
26 | 42 |
listen 443 ssl; |
27 | 43 |
listen [::]:443 ssl; |
28 | 44 |
|
45 |
# |
|
46 |
# TODO: set website domain |
|
47 |
# |
|
29 | 48 |
server_name heatmap.zcu.cz; |
49 |
|
|
50 |
# |
|
51 |
# TODO: set certificate files |
|
52 |
# |
|
30 | 53 |
ssl_certificate /root/.acme.sh/heatmap.zcu.cz/fullchain.cer; |
31 | 54 |
ssl_certificate_key /root/.acme.sh/heatmap.zcu.cz/heatmap.zcu.cz.key; |
32 | 55 |
|
Také k dispozici: Unified diff
Dokončení oborového projektu KIV/OPSWI