mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2024-12-25 03:20:32 +00:00
Merge branch 'master' of github.com:Plume-org/Plume
This commit is contained in:
commit
5b8db50da2
1 changed files with 2 additions and 1 deletions
|
@ -162,6 +162,7 @@ server {
|
||||||
server {
|
server {
|
||||||
server_name blog.example.org;
|
server_name blog.example.org;
|
||||||
access_log /var/log/nginx/access.log;
|
access_log /var/log/nginx/access.log;
|
||||||
|
root /home/plume/Plume/ ;
|
||||||
|
|
||||||
listen [::]:443 ssl; # managed by Certbot
|
listen [::]:443 ssl; # managed by Certbot
|
||||||
SSLCertificateFile /etc/letsencrypt/live/blog.example.com/cert.pem
|
SSLCertificateFile /etc/letsencrypt/live/blog.example.com/cert.pem
|
||||||
|
@ -217,7 +218,7 @@ If you prefer Apache, you can use this configuration (here too replace `blog.exa
|
||||||
<VirtualHost *:443>
|
<VirtualHost *:443>
|
||||||
ServerAdmin admin@example.com
|
ServerAdmin admin@example.com
|
||||||
ServerName blog.example.com
|
ServerName blog.example.com
|
||||||
|
<Directory "/home/plume/Plume">
|
||||||
Header always set Referrer-Policy "strict-origin-when-cross-origin"
|
Header always set Referrer-Policy "strict-origin-when-cross-origin"
|
||||||
Header always set Strict-Transport-Security "max-age=31536000"
|
Header always set Strict-Transport-Security "max-age=31536000"
|
||||||
SSLEngine on
|
SSLEngine on
|
||||||
|
|
Loading…
Reference in a new issue