We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f86bbc commit b41cfe1Copy full SHA for b41cfe1
nginx-luapower-prod.conf
@@ -7,6 +7,10 @@ http {
7
location ~ ^/files/(.*)$ {
8
try_files /../files/$1 =404;
9
}
10
+ # serve some static file types from the luapower directory directly.
11
+ location ~ \.(js|json|css|html|otf|ttf|woff|woff2|gif|jpg|jpeg|png|svg)$ {
12
+ try_files /$www_dir$uri /../luapower/media/fonts$uri /../luapower/$uri $uri @lua;
13
+ }
14
include nginx-webb.conf;
15
listen 127.0.0.1:8881;
16
set $www_dir "luapower-www";
0 commit comments