Skip to content

Commit 2299feb

Browse files
committed
playing with filepond
1 parent 93b854c commit 2299feb

File tree

1 file changed

+3
-2
lines changed
  • filepond/nginx/sites-available

1 file changed

+3
-2
lines changed

filepond/nginx/sites-available/default

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,14 @@ server {
88

99
root /var/www/upload;
1010
index index.php index.html;
11+
autoindex off;
1112

12-
location ^~ /server/php/files {
13+
location ^~ /server/php/(files|tmp|variants) {
1314
deny all;
1415
return 404;
1516
}
1617

17-
location ~ \.php$ {
18+
location ~ (\.php|/server/php/)$ {
1819
include snippets/fastcgi-php.conf;
1920
fastcgi_buffers 16 64k;
2021
fastcgi_buffer_size 256k;

0 commit comments

Comments
 (0)