Skip to content

Commit

Permalink
Change
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmerfield committed Oct 27, 2023
1 parent 5c986c7 commit d120db8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/proxy-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ jobs:
env:
NODE_PATH: /home/runner/work/Blot/Blot/app
NODE_SERVER_IP: 127.0.0.1
LUA_PACKAGE_PATH: /home/runner/work/Blot/Blot/.luarocks/share/lua/5.1/?.lua
REDIS_IP: 127.0.0.1
OPENRESTY_USER: runner
DISABLE_HTTP2: true
Expand Down
1 change: 1 addition & 0 deletions config/openresty/build-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ const locals = {
disable_http2: process.env.DISABLE_HTTP2,
node_ip: NODE_SERVER_IP,
node_port: config.port,
lua_package_path: process.env.LUA_PACKAGE_PATH,
redis: { host: REDIS_IP },
reverse_proxy_ip: process.env.PUBLIC_IP,
user: process.env.OPENRESTY_USER || "ec2-user",
Expand Down
5 changes: 4 additions & 1 deletion config/openresty/conf/http.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ charset utf-8;

{{> static-file.conf}}

lua_package_path '/home/runner/work/Blot/Blot/.luarocks/share/lua/5.1/?.lua;;';
{{#lua_package_path}}
lua_package_path '{{{lua_package_path}}};;';
{{/lua_package_path}}

init_by_lua_file {{{config_directory}}}/init.lua;

# Make sure this directory exists
Expand Down

0 comments on commit d120db8

Please sign in to comment.