An open API service indexing awesome lists of open source software.

https://github.com/mrgkanev/webserver

web-based tool for calculating resource usage and generating configuration files for various web servers. It helps system administrators and developers optimize their web server setups based on their specific requirements
https://github.com/mrgkanev/webserver

apache caddy lighttpd nginx webserver

Last synced: 4 months ago
JSON representation

web-based tool for calculating resource usage and generating configuration files for various web servers. It helps system administrators and developers optimize their web server setups based on their specific requirements

Awesome Lists containing this project

README

        

# Webserver Resource Calculator and Config Generator

This project provides a web-based tool for calculating resource usage and generating configuration files for various web servers. It helps system administrators and developers optimize their web server setups based on their specific requirements.

## Features

- Supports multiple web servers: Apache, Nginx, Lighttpd, and Caddy
- Calculates estimated resource usage (memory and CPU) based on input parameters
- Generates sample configuration files tailored to the input
- Provides recommendations for optimizing web server performance
- Offers downloadable configuration files

## Usage

1. Open `index.html` in a web browser.
2. Select your web server from the dropdown menu.
3. Enter the required parameters:
- Concurrent Connections
- Number of Workers/Processes
- Available Memory (MB)
- Number of CPU Cores
- PHP Version (if applicable)
4. View the estimated resource usage, recommendations, and sample configuration.
5. Download the generated configuration file if desired.

## Useful Commands

- Continuously watch for changes in the `style.css` file, updating the output file whenever changes occur.

```bash
npx @tailwindcss/cli -i ./s/style.css -o ./assets/style.min.css --watch
```

- Generate a minified version of the CSS

```bash
npx @tailwindcss/cli -i ./assets/style.css -o ./assets/style.min.css --minify
```

## Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

## License

This project is open source and available under the [MIT License](LICENSE).

## Created by

Gabriel Kanev - [https://gkanev.com/](https://gkanev.com/)