mirror of
https://github.com/fleetbase/fleetbase.git
synced 2026-01-06 06:15:51 +00:00
latest
This commit is contained in:
@@ -11,6 +11,18 @@ server {
|
||||
try_files $uri $uri/ /index.php?$args;
|
||||
}
|
||||
|
||||
location /uploads {
|
||||
alias /var/www/html/api/storage/app/uploads;
|
||||
autoindex on;
|
||||
try_files $uri $uri/ /index.php?$query_string;
|
||||
}
|
||||
|
||||
location /storage {
|
||||
alias /var/www/html/api/storage/app/public;
|
||||
autoindex on;
|
||||
try_files $uri $uri/ /index.php?$query_string;
|
||||
}
|
||||
|
||||
location ~ [^/]\.php(/|$) {
|
||||
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
||||
if (!-f $document_root$fastcgi_script_name) {
|
||||
@@ -25,4 +37,4 @@ server {
|
||||
fastcgi_pass application:9000;
|
||||
fastcgi_index index.php;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user