|
| 1 | + |
| 2 | + <p align="center" > |
| 3 | + <img src="https://raw.githubusercontent.com/ICU-Coders/IconLib/master/icon.jpg" alt="ICU-Coders" title="ICU-Coders"> |
| 4 | + </p> |
| 5 | + |
| 6 | +# nginx-config-reader(ncr) |
| 7 | + |
| 8 | +nginx configuration file reader tool, used to quickly preview all nginx configuration files under the current service |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | +Results Show |
| 13 | + |
| 14 | + |
| 15 | +### How To Use |
| 16 | + |
| 17 | +```shell |
| 18 | +go run ./main.go |
| 19 | +``` |
| 20 | +OR |
| 21 | +```shell |
| 22 | +cd build |
| 23 | +chmod o+x ./ncr_linunx |
| 24 | +./ncr_linunx |
| 25 | +``` |
| 26 | +### Optional parameters |
| 27 | +``` |
| 28 | +-i input Specify the address of the parsed file |
| 29 | +-l log Output the location of the nginx configuration log |
| 30 | +-s sort server/listen/uri/dir, default `listen` |
| 31 | +-m match Matching character filter |
| 32 | +-h help Help content |
| 33 | +``` |
| 34 | + |
| 35 | +## MIT License |
| 36 | + |
| 37 | +Copyright (c) 2022 ICU-Coders |
| 38 | + |
| 39 | +Permission is hereby granted, free of charge, to any person obtaining a copy |
| 40 | +of this software and associated documentation files (the "Software"), to deal |
| 41 | +in the Software without restriction, including without limitation the rights |
| 42 | +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| 43 | +copies of the Software, and to permit persons to whom the Software is |
| 44 | +furnished to do so, subject to the following conditions: |
| 45 | + |
| 46 | +The above copyright notice and this permission notice shall be included in all |
| 47 | +copies or substantial portions of the Software. |
| 48 | + |
| 49 | +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 50 | +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 51 | +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
| 52 | +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| 53 | +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
| 54 | +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
| 55 | +SOFTWARE. |
0 commit comments