mirror of
https://github.com/mtan93/install-nextcloud.git
synced 2026-03-08 05:31:52 +00:00
This commit is contained in:
@@ -394,7 +394,7 @@ return 301 \$scheme://\$host/remote.php/dav;
|
|||||||
}
|
}
|
||||||
client_max_body_size 10240M;
|
client_max_body_size 10240M;
|
||||||
location / {
|
location / {
|
||||||
rewrite ^ /index.php\$uri;
|
rewrite ^ /index.php$request_uri;
|
||||||
}
|
}
|
||||||
location ~ ^/(?:build|tests|config|lib|3rdparty|templates|data)/ {
|
location ~ ^/(?:build|tests|config|lib|3rdparty|templates|data)/ {
|
||||||
deny all;
|
deny all;
|
||||||
@@ -424,7 +424,7 @@ try_files \$uri/ =404;
|
|||||||
index index.php;
|
index index.php;
|
||||||
}
|
}
|
||||||
location ~ \.(?:css|js|woff2?|svg|gif|png|html|ttf|ico|jpg|jpeg)\$ {
|
location ~ \.(?:css|js|woff2?|svg|gif|png|html|ttf|ico|jpg|jpeg)\$ {
|
||||||
try_files \$uri /index.php\$uri\$is_args\$args;
|
try_files $uri /index.php$request_uri;
|
||||||
access_log off;
|
access_log off;
|
||||||
expires 360d;
|
expires 360d;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user