replace hugo with jekyll
This commit is contained in:
parent
a944d8c2ff
commit
f6e9ffd684
9 changed files with 83 additions and 19 deletions
18
roles/blog/files/nginx.conf
Normal file
18
roles/blog/files/nginx.conf
Normal file
|
@ -0,0 +1,18 @@
|
|||
server {
|
||||
listen 80;
|
||||
server_name pizzapim.nl;
|
||||
index index.html index.htm;
|
||||
root /var/www/blog;
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
|
||||
location ~* \.(?:ico|css|js|gif|jpe?g|png)$ {
|
||||
expires 30d;
|
||||
add_header Pragma public;
|
||||
add_header Cache-Control "public";
|
||||
}
|
||||
|
||||
error_page 404 /404.html;
|
||||
}
|
Reference in a new issue