Set up openresty #502

Merged
raucao merged 27 commits from feature/501-openresty into master 2023-07-25 11:24:40 +00:00
2 changed files with 14 additions and 0 deletions
Showing only changes of commit d077dfdcf2 - Show all commits

View File

@ -5,3 +5,8 @@
# Install openresty from official packages
include_recipe 'openresty::apt_package'
openresty_site 'hello_world' do
template 'hello_world.conf.erb'
action :enable
end

View File

@ -0,0 +1,9 @@
server {
listen 80 reuseport;
location / {
default_type text/plain;
content_by_lua_block {
ngx.say("Hello World")
}
}
}