Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/babarot/nginx-config-tester
https://github.com/babarot/nginx-config-tester
nginx
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/babarot/nginx-config-tester
- Owner: babarot
- Created: 2017-11-17T10:31:20.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-11-17T10:38:44.000Z (about 7 years ago)
- Last Synced: 2024-10-24T23:27:14.865Z (3 months ago)
- Topics: nginx
- Language: Shell
- Size: 1000 Bytes
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
nginx-config-tester
===================A docker repo for checking nginx.conf syntax quickly
## Usage
```console
$ git clone https://github.com/b4b4r07/nginx-config-tester
$ cd nginx-config-tester
$ ./run.sh /path/to/your_nginx.conf
Checking nginx.conf.j2 syntax...2017/11/17 10:37:29 [emerg] 1#1: "upstream" directive is not allowed here in /etc/nginx/nginx.conf:10
nginx: [emerg] "upstream" directive is not allowed here in /etc/nginx/nginx.conf:10
nginx: configuration file /etc/nginx/nginx.conf test failed
```## License
MIT
## Author
b4b4r07