nyurik/Setup NGINX service for Linux/macOS/Windows

Setup and run NGINX server on all platforms.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Jul 8, 2024
License
Apache 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: nyurik/action-setup-nginx@612ee9cb839ad727832cda16359452e7e14dd521 # v1.1

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
portThe port number to use for the NGINX service, unless conf-file-text is set.no8080
conf-file-textThe text of the entire configuration file to use for NGINX. This will ignore some other inputs.no""
output-unix-pathsIf set to a non-empty value, will use Unix paths in the output. This is only relevant on Windows runners, ignored on other platforms.no""
namedescription
binThe path to the NGINX binary.
conf-pathThe path to the NGINX configuration file.
html-dirDefault directory NGINX service uses as the root. This can be overridden by conf-file-text.
pidThe process ID of the NGINX service.
portThe port number used by the NGINX service.
access-logThe path to the NGINX access log file, unless conf-file-text is provided.
error-logThe path to the NGINX error log file, unless conf-file-text is provided.