Skip to content

Commit f526ac6

Browse files
committed
Change naming scheme as per https://inclusivenaming.org/language/word-list/; update docs
1 parent 1bdabe2 commit f526ac6

5 files changed

Lines changed: 18 additions & 8 deletions

File tree

.gitattributes

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
*.conf linguist-detectable=true
2+
*.conf linguist-language=Nginx
3+
*.vhost linguist-detectable=true
4+
*.vhost linguist-language=Nginx
5+
6+
# exclude the following while detecting the language
7+
*.sh linguist-detectable=false
8+
*.html linguist-detectable=false

README.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ There are multiplpe advantages of using this repo as your go-to nginx configurat
99
+ Correct use of `if` statement because [ifisevil](https://www.nginx.com/resources/wiki/start/topics/depth/ifisevil/).
1010
+ SSL / LetsEncrypt / Certbot compatible.
1111
+ Multisite support.
12-
+ Contains ready-to-use sample vhost entries.
12+
+ Contains ready-to-use [sample vhost entries](https://github.com/pothi/wordpress-nginx/tree/main/sites-available).
1313
+ Continuously updated sample configurations with best practices.
1414
+ IPv6 is supported out of the box.
1515
+ Cloudflare support.
@@ -23,7 +23,7 @@ There are multiplpe advantages of using this repo as your go-to nginx configurat
2323
+ Multisite (sub-domain and sub-directory)
2424
+ Varnish with Nginx for SSL termination.
2525
+ Custom error pages.
26-
+ Catchall template.
26+
+ [Catchall template](https://github.com/pothi/wordpress-nginx/blob/main/sites-available/catchall.conf).
2727

2828
## Performance
2929

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

5050
Tested with the following servers...
51-
+ Debian Debian 9 (Stretch)
51+
+ Debian 9 (Stretch)
52+
+ Debian 10 (Buster)
5253
+ Ubuntu 16.04 LTS (Xenial Xerus)
5354
+ Ubuntu 18.04 LTS (Bionic Beaver)
55+
+ Ubuntu 20.04 LTS (Focal Fossa)
5456

5557
Tested with the following Nginx versions...
56-
+ Stable verisons 1.12.x and 1.14.x
57-
+ Mainline versions 1.13.x, 1.15.x
58+
+ Stable verisons 1.12.x, 1.14.x, 1.20.x
59+
+ Mainline versions 1.13.x, 1.15.x, 1.19.x
5860

5961
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!
6062

@@ -86,7 +88,7 @@ or
8688

8789
`sudo yum install nginx`
8890

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

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

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

128130
### Can you implement it on my server?
129131

130-
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.
132+
Yes. I offer paid support and can implement it on your server. Minimum fee is USD50. Please [contact me](mailto:pothi@protonmail.com) for any queries in this regard.
131133

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

File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)