23 lines
466 B
Plaintext
23 lines
466 B
Plaintext
server {
|
|
listen 443 ssl http2;
|
|
listen [::]:443 ssl http2;server_name keys.libraryofcode.org;
|
|
|
|
ssl_certificate /etc/nginx/ssl/org.chain.crt;
|
|
ssl_certificate_key /etc/nginx/ssl/org.key.pem;
|
|
|
|
root /var/www/html/sks;
|
|
|
|
error_page 404 /404.html;
|
|
|
|
location ~ (.git|LICENSE|readme.md) {
|
|
deny all;
|
|
return 404;
|
|
}
|
|
|
|
location /pks {
|
|
proxy_pass http://localhost:11371;
|
|
proxy_pass_header Server;
|
|
}
|
|
|
|
}
|