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

16 lines
336 B
Plaintext

server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name gocrypt.libraryofcode.org;
ssl_certificate /etc/nginx/ssl/org.chain.crt;
ssl_certificate_key /etc/nginx/ssl/org.key.pem;
root /var/www/gocryptdoc;
index index.html;
location / {
try_files $uri $uri/index.html =404;
}
}