A command-line application to create necessary files for running nginx on the current folder.
About
Usage
Files and Directories
Installation
Contributing
License
nginit is a simple command-line application that generates configuration files, logs, and temporary directories for a basic nginx setup. It is designed to make it easy to get started with nginx development.
To use nginit, simply run the application in the terminal or command prompt. You can also pass arguments to customize the behavior.
nginit
: Creates all necessary files and directories for a basic nginx setup.nginit
-hor
nginit --help`: Displays the help message with usage instructions.nginit -v
ornginit --version
: Displays the version number of nginit.
nginit creates the following files and directories:
conf/
: A directory containing configuration files for nginx.conf/nginx.conf
: The main configuration file for nginx.conf/fastcgi_params
: A file containing FastCGI parameters.conf/fastcgi.conf
: A file containing FastCGI configuration.conf/koi-utf
: A file containing KOI8-U to UTF-8 mapping.conf/koi-win
: A file containing KOI8-R to Windows-1251 mapping.conf/mime.types
: A file containing MIME types for nginx.conf/scgi_params
: A file containing SCGI parameters.conf/uwsgi_params
: A file containing uWSGI parameters.conf/win-utf
: A file containing Windows-1251 to UTF-8 mapping.html/
: A directory containing HTML files.html/index.html
: A basic HTML file for testing nginx.logs/
: A directory containing log files.logs/access.log
: A file for access logs.logs/error.log
: A file for error logs.temp/
: A directory containing temporary files.temp/client_body_temp/
: A directory for client body temporary files.temp/fastcgi_temp/
: A directory for FastCGI temporary files.temp/proxy_temp/
: A directory for proxy temporary files.temp/scgi_temp/
: A directory for SCGI temporary files.temp/uwsgi_temp/
: A directory for uWSGI temporary files.
To install nginit, simply clone the repository and compile the code.
git clone https://github.com/h4jack/nginit.git
cd nginit
gcc nginit.c -o nginit
Contributions are always welcome! If you find any issues or have suggestions, please open an issue or submit a pull request.
License nginit is licensed under the MIT License. See the LICENSE file for details.