Fixing issue with displaying images.

This commit is contained in:
Devin Humbert 2016-09-28 12:07:25 -07:00
parent 5f39ae6b48
commit 981503f8f2
1 changed files with 1 additions and 6 deletions

View File

@ -29,12 +29,7 @@ server {
root /opt/app/dokuwiki;
index doku.php;
location ~ /(data/|conf/|bin/|inc/|install.php) { deny all; }
location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
expires 31536000s;
add_header Pragma "public";
add_header Cache-Control "max-age=31536000, public, must-revalidate, proxy-revalidate";
log_not_found off;
}
location / {
try_files \$uri \$uri/ @dokuwiki;
}