From 981503f8f220c87fdeca2fcb98a3e0a12618de78 Mon Sep 17 00:00:00 2001 From: Devin Humbert Date: Wed, 28 Sep 2016 12:07:25 -0700 Subject: [PATCH] Fixing issue with displaying images. --- .sandstorm/setup.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.sandstorm/setup.sh b/.sandstorm/setup.sh index c9b0d88..7dac1ab 100644 --- a/.sandstorm/setup.sh +++ b/.sandstorm/setup.sh @@ -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; }