Skip to content

Commit

Permalink
azazel: add directory listing to preklady.fcp.cz/comic/data/prelozit
Browse files Browse the repository at this point in the history
The drecory has `Options +Indexes` in `.htaccess`
  • Loading branch information
jtojnar committed Jun 7, 2021
1 parent f97d4ee commit 1d3030a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions hosts/azazel/fan-club-penguin.cz/preklady/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ in {
try_files $uri $uri/ /comic/index.php;
}
location /comic/data/prelozit {
fancyindex on; # Enable directory listing.
fancyindex_exact_size off; # Use human-readable file sizes.
}
location ~ \.php$ {
${enablePHP "fcp"}
}
Expand Down

0 comments on commit 1d3030a

Please sign in to comment.