Skip to content

Commit

Permalink
Change naming scheme as per https://inclusivenaming.org/language/word…
Browse files Browse the repository at this point in the history
…-list/; update docs
  • Loading branch information
pothi committed Jul 9, 2021
1 parent 1bdabe2 commit f526ac6
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 8 deletions.
8 changes: 8 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
*.conf linguist-detectable=true
*.conf linguist-language=Nginx
*.vhost linguist-detectable=true
*.vhost linguist-language=Nginx

# exclude the following while detecting the language
*.sh linguist-detectable=false
*.html linguist-detectable=false
18 changes: 10 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ There are multiplpe advantages of using this repo as your go-to nginx configurat
+ Correct use of `if` statement because [ifisevil](https://www.nginx.com/resources/wiki/start/topics/depth/ifisevil/).
+ SSL / LetsEncrypt / Certbot compatible.
+ Multisite support.
+ Contains ready-to-use sample vhost entries.
+ Contains ready-to-use [sample vhost entries](https://github.com/pothi/wordpress-nginx/tree/main/sites-available).
+ Continuously updated sample configurations with best practices.
+ IPv6 is supported out of the box.
+ Cloudflare support.
Expand All @@ -23,7 +23,7 @@ There are multiplpe advantages of using this repo as your go-to nginx configurat
+ Multisite (sub-domain and sub-directory)
+ Varnish with Nginx for SSL termination.
+ Custom error pages.
+ Catchall template.
+ [Catchall template](https://github.com/pothi/wordpress-nginx/blob/main/sites-available/catchall.conf).

## Performance

Expand All @@ -48,13 +48,15 @@ There are multiplpe advantages of using this repo as your go-to nginx configurat
## Compatibility

Tested with the following servers...
+ Debian Debian 9 (Stretch)
+ Debian 9 (Stretch)
+ Debian 10 (Buster)
+ Ubuntu 16.04 LTS (Xenial Xerus)
+ Ubuntu 18.04 LTS (Bionic Beaver)
+ Ubuntu 20.04 LTS (Focal Fossa)

Tested with the following Nginx versions...
+ Stable verisons 1.12.x and 1.14.x
+ Mainline versions 1.13.x, 1.15.x
+ Stable verisons 1.12.x, 1.14.x, 1.20.x
+ Mainline versions 1.13.x, 1.15.x, 1.19.x

For RPM based distros (Fedora, Redhat, CentOS and Amazon Linux AMI), the configuration mentioned in the repo is likely to work. Additional steps may be needed, though. See below for some details!

Expand Down Expand Up @@ -86,7 +88,7 @@ or

`sudo yum install nginx`

Step #2 - Please backup your existing configuration files. Probably, have /etc under version control!
Step #2 - Please backup your existing configuration files. Probably, have `/etc` under version control!

```bash
TIMESTAMP=$(date +%F_%H-%M-%S)
Expand All @@ -100,7 +102,7 @@ Step #3 - Copy this repo to your server.
git clone https://github.com/pothi/wordpress-nginx.git ~/git/wordpress-nginx
sudo cp -a ~/git/wordpress-nginx/* /etc/nginx/
sudo mkdir /etc/nginx/sites-enabled &> /dev/null
sudo cp /etc/nginx/nginx-sample.conf /etc/nginx/nginx.conf
sudo cp /etc/nginx/nginx.conf /etc/nginx/
```
Further steps varies depending on your particular requirement:

Expand All @@ -127,7 +129,7 @@ sudo nginx -t && sudo systemctl restart nginx

### Can you implement it on my server?

Yes, of course. My hourly rate is USD 50 per hour. Please [contact me](https://www.tinywp.in/contact/) for any queries in this regard.
Yes. I offer paid support and can implement it on your server. Minimum fee is USD50. Please [contact me](mailto:[email protected]) for any queries in this regard.

### Have questions or just wanted to say hi?

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit f526ac6

Please sign in to comment.