Search
Get Started
F
Filament
•
3y ago
alexmanase
Scripts are not loaded in production
Hi there
! I deployed my site and when I visit the
/admin url the scripts are not loaded
.
Filament
Join
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,392
Members
View on Discord
Was this page helpful?
Yes
No
A
awcodes
•
7/24/23, 11:11 AM
Run a search on here
. It
’s been discussed before
. Basically though it
’s a server mis
-configuration
. You need to tell the server that any assets under livewire or filament need to be served by laravel and not statically
.
A
alexmanase
OP
•
7/24/23, 12:56 PM
https://filamentphp.com/tricks/fix-filament-assets-nginx
Filament
Fix Filament assets not loading in Nginx by Ida Bagus Gede Pramana ...
Filament is a collection of tools for rapidly building beautiful TALL stack apps
, designed for humans
.
A
alexmanase
OP
•
7/24/23, 12:56 PM
Like this one
?
A
alexmanase
OP
•
7/24/23, 1:09 PM
❓┊help
Filament asset not found in Nginx
A
alexmanase
OP
•
7/24/23, 1:09 PM
Someone posted the issue
, but it looks like it was not found
A
alexmanase
https://filamentphp.com/tricks/fix-filament-assets-nginx
A
alexmanase
OP
•
7/24/23, 1:10 PM
I did what is said here and it didn
't work
A
alexmanase
OP
•
7/24/23, 1:10 PM
I have to mention that I don
't use a custom nginx config file
A
alexmanase
OP
•
7/24/23, 1:10 PM
I use laravel forge
A
alexmanase
OP
•
7/24/23, 1:13 PM
message.txt
2.56KB
A
alexmanase
OP
•
7/24/23, 1:13 PM
this is my nginx file
A
alexmanase
OP
•
7/24/23, 1:13 PM
if it helps
A
alexmanase
OP
•
7/24/23, 1:20 PM
A
alexmanase
OP
•
7/24/23, 1:21 PM
I
've added this line because I use Octane
A
alexmanase
OP
•
7/24/23, 1:21 PM
@awcodes thank you for your help
location / {
try_files $uri $uri/ @octane;
}
location / {
try_files $uri $uri/ @octane;
}