Last active
December 24, 2020 02:24
Revisions
-
jll90 revised this gist
Dec 24, 2020 . 1 changed file with 0 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -15,7 +15,6 @@ http { location / { access_by_lua_file lua/auth.lua; proxy_pass http://microservice:3000; } } } -
jll90 created this gist
Dec 24, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,21 @@ user nginx; worker_processes auto; error_log /var/log/nginx/error.log; pid /run/nginx.pid; events { worker_connections 1024; } http { server { listen 80; server_name local.lua; location / { access_by_lua_file lua/auth.lua; proxy_pass http://microservice:3000; # log_by_lua_file lua/request_logger.lua; } } }