Skip to content

Commit 8fc9bfc

Browse files
committed
Add flux location #100
1 parent 462147f commit 8fc9bfc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

templates/presets/laravel.conf.tmpl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ location / {
1515
try_files $uri /{{ $index }}?$args;
1616
}
1717

18+
location ~ ^/flux/flux(\.min)?\.(js|css)$ {
19+
expires off;
20+
try_files $uri /{{ $index }}?$args;
21+
}
22+
1823
location ~* ^.+\.(?:{{ $static }})$ {
1924
access_log {{ getenv "NGINX_STATIC_ACCESS_LOG" "off" }};
2025
tcp_nodelay {{ getenv "NGINX_STATIC_TCP_NODELAY" "off" }};

0 commit comments

Comments
 (0)