-
Notifications
You must be signed in to change notification settings - Fork 1
/
nginx.conf
29 lines (19 loc) · 905 Bytes
/
nginx.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
server {
server_name galileo-servicebot-doc.bwbot.org;
root /home/bwbot/data/src/gitbook/galileo-servicebot-doc;
client_max_body_size 500M;
location / {
alias /home/bwbot/data/src/gitbook/galileo-servicebot-doc/_book/;
expires 1d;
}
location /books-online/galileo-servicebot-doc/ {
alias /home/bwbot/data/src/gitbook/galileo-servicebot-doc/_book/;
expires 1d;
}
listen 80; # managed by Certbot
listen 443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/bwbot.org-0001/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/bwbot.org-0001/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
}