configurations/Nginx/Server Blocks/bin.libraryofcode.org.conf

24 lines
686 B
Plaintext
Raw Normal View History

2021-04-03 02:08:09 -04:00
server {
2021-04-03 02:37:14 -04:00
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name bin.libraryofcode.org;
2021-04-03 02:08:09 -04:00
2021-04-03 02:37:14 -04:00
ssl_certificate /etc/nginx/ssl/org.chain.crt;
ssl_certificate_key /etc/nginx/ssl/org.key.pem;
2021-04-03 02:08:09 -04:00
2021-04-03 02:37:14 -04:00
ssl_session_cache builtin:1000 shared:SSL:10m;
ssl_protocols TLSv1.2;
2021-04-03 02:08:09 -04:00
2021-04-03 02:37:14 -04:00
ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384;
2021-04-03 02:08:09 -04:00
2021-04-03 02:37:14 -04:00
ssl_prefer_server_ciphers on;
2021-04-03 02:08:09 -04:00
2021-04-03 02:37:14 -04:00
ssl_stapling on;
ssl_stapling_verify on;
2021-04-03 02:08:09 -04:00
2021-04-03 02:37:14 -04:00
root /var/binary;
location / {
autoindex on;
}
2021-04-03 02:08:09 -04:00
}