Fixing issue with displaying images.
This commit is contained in:
parent
5f39ae6b48
commit
981503f8f2
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user