nyurik/Setup NGINX service for Linux/macOS/Windows
Setup and run NGINX server on all platforms.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Jul 8, 2024
- License
- Apache 2.0
Pinned Snippet
uses: nyurik/action-setup-nginx@612ee9cb839ad727832cda16359452e7e14dd521 # v1.1tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| port | The port number to use for the NGINX service, unless conf-file-text is set. | no | 8080 |
| conf-file-text | The text of the entire configuration file to use for NGINX. This will ignore some other inputs. | no | "" |
| output-unix-paths | If 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 | "" |
Outputs
| name | description |
|---|---|
| bin | The path to the NGINX binary. |
| conf-path | The path to the NGINX configuration file. |
| html-dir | Default directory NGINX service uses as the root. This can be overridden by conf-file-text. |
| pid | The process ID of the NGINX service. |
| port | The port number used by the NGINX service. |
| access-log | The path to the NGINX access log file, unless conf-file-text is provided. |
| error-log | The path to the NGINX error log file, unless conf-file-text is provided. |