Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/dockerimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,15 @@ jobs:
- name: Run nginx -V
run: docker run -t ${{ github.repository }} nginx -V

# Don’t run, just test the configuration file.
# NGINX checks configuration for correct syntax and then try to open files referred in configuration.
# https://www.nginx.com/resources/wiki/start/topics/tutorials/commandline/
- name: Run nginx -t
run: docker run -t ${{ github.repository }} nginx -t

- name: Serve a static asset
run: |
docker run --detach --rm \
docker run --rm \
-p 0.0.0.0:8888:80 \
-v "$PWD/tests":/static:ro \
-v "$PWD/tests/static.conf":/etc/nginx/conf.d/static.conf:ro \
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ ARG NGX_BROTLI_COMMIT=9aec15e2aa6feea2113119ba06460af70ab3ea62
# https://hub.docker.com/r/firesh/nginx-lua/dockerfile
ARG NGX_DEVEL_KIT_VERSION=0.3.1

# https://github.com/openresty/luajit2/releases
ARG LUA_NGINX_MODULE_VERSION=0.10.14
# https://github.com/openresty/lua-nginx-module/releases/
ARG LUA_NGINX_MODULE_VERSION=0.10.15

ARG CONFIG="\
--prefix=/etc/nginx \
Expand Down