Skip to content

mjohn50n/nginx-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

nginx-config

Nginx Config Generator for WordPress

Welcome to the Nginx Config Generator for WordPress repository! This bash script simplifies the process of creating an optimized Nginx configuration file for your WordPress website. Enhance performance, strengthen security, and seamlessly integrate with PHP 8.2.

Features

  • Automatically generates an Nginx configuration file specific to your WordPress setup.
  • Optimizes performance with gzip compression and fastcgi buffering.
  • Enforces security measures to protect your WordPress installation.
  • Eases integration with PHP 8.2 using the configured PHP-FPM socket.
  • Simplifies management with predefined variables and intelligent routing rules.

Requirements

  • Nginx web server
  • PHP-FPM (PHP-FPM 8.2 recommended)
  • Bash

Usage

  1. Clone this repository: https://github.com/mjohn50n/nginx-config.git

  2. Modify the script variables in the script file according to your server configuration.

  3. Run the script: ./nginx-config-generator.sh

  4. The script will generate an Nginx vitural host configuration file for your WordPress website.

License

This project is licensed under the MIT License.


We welcome contributions from the open-source community! If you encounter any issues or have suggestions for improvements, please feel free to create an issue or submit a pull request.

Happy WordPress-ing with Nginx Config Generator!

About

Nginx Config Generator for WordPress

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages