coolify fix
This commit is contained in:
@@ -39,6 +39,8 @@ COPY --from=php-builder /app /var/www/html
|
||||
|
||||
COPY --from=node-builder /app/public /var/www/html/public
|
||||
|
||||
RUN ln -sf ../../storage/app/public /var/www/html/public/storage
|
||||
|
||||
RUN chown -R www-data:www-data /var/www/html/storage /var/www/html/bootstrap/cache \
|
||||
&& chmod -R 775 /var/www/html/storage /var/www/html/bootstrap/cache
|
||||
|
||||
|
||||
+1
-1
@@ -17,7 +17,7 @@ server {
|
||||
}
|
||||
|
||||
# Serve static Vite assets directly (cache them for performance)
|
||||
location ~* \.(jpg|jpeg|gif|png|css|js|ico|webp|svg|woff|woff2|ttf|eot)$ {
|
||||
location ~* \.(jpg|jpeg|gif|png|css|js|ico|webp|svg|woff|woff2|ttf|eot|mp3|wav|ogg|pdf)$ {
|
||||
expires max;
|
||||
access_log off;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user