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

23 lines
466 B
Plaintext
Raw Normal View History

2021-05-01 15:13:49 -04:00
server {
listen 443 ssl http2;
2022-02-15 00:26:44 -05:00
listen [::]:443 ssl http2;server_name keys.libraryofcode.org;
2021-05-01 15:13:49 -04:00
ssl_certificate /etc/nginx/ssl/org.chain.crt;
ssl_certificate_key /etc/nginx/ssl/org.key.pem;
2021-05-01 16:25:44 -04:00
2021-05-01 15:13:49 -04:00
root /var/www/html/sks;
2022-02-15 00:26:44 -05:00
2021-05-01 15:13:49 -04:00
error_page 404 /404.html;
location ~ (.git|LICENSE|readme.md) {
deny all;
return 404;
}
location /pks {
2022-02-15 00:26:44 -05:00
proxy_pass http://localhost:11371;
2021-05-01 15:13:49 -04:00
proxy_pass_header Server;
}
}