Merge pull request #206 from Kedoia/master

Fix Nginx Config
This commit is contained in:
Baptiste Gelez 2018-09-08 09:13:41 +01:00 committed by GitHub
commit 4c23404e76
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -182,6 +182,7 @@ Here is a sample Nginx configuration for a Plume instance (replace `blog.example
```nginx
server {
listen 80;
listen [::]:80;
server_name blog.example.com;
location /.well-known/acme-challenge {}
@ -191,11 +192,13 @@ server {
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name blog.example.org;
access_log /var/log/nginx/access.log;
root /home/plume/Plume/ ;
listen [::]:443 ssl; # managed by Certbot
SSLCertificateFile /etc/letsencrypt/live/blog.example.com/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/blog.example.com/privkey.pem
SSLCertificateChainFile /etc/letsencrypt/live/blog.example.com/chain.pem