Merge pull request #1 from dhumbert/master
Fixing issue with displaying images.
This commit is contained in:
commit
43653e5bcf
@ -29,12 +29,7 @@ server {
|
|||||||
root /opt/app/dokuwiki;
|
root /opt/app/dokuwiki;
|
||||||
index doku.php;
|
index doku.php;
|
||||||
location ~ /(data/|conf/|bin/|inc/|install.php) { deny all; }
|
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 / {
|
location / {
|
||||||
try_files \$uri \$uri/ @dokuwiki;
|
try_files \$uri \$uri/ @dokuwiki;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user