Skip to content

Commit cf596d4

Browse files
committed
Fix typos in README.md
1 parent 2db1c86 commit cf596d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
When using nginx, there are many **legitimate reasons** to support `.htaccess` files.
2020

2121
* **Mixed technology.** Imagine using NodeJS and PHP side by side, running on one stable nginx webserver. When dealing with customer webspace, using Apache and nginx together (one proxying the other) is possible, however this adds unnecessary layers of redundancy and heavily wastes valuable server resources.
22-
* **Ease of use.** Everybody knows how to use `.htaccess` files. As pf January 2020, [more than 24% of all active websites](https://web.archive.org/web/20200130141042/https://news.netcraft.com/archives/2020/01/21/january-2020-web-server-survey.html) are still run on Apache and thus capable of utilizing `.htaccess` files. If nginx had a way to support this feature, this number would be going down significantly, making the web faster.
22+
* **Ease of use.** Everybody knows how to use `.htaccess` files. As of January 2020, [more than 24% of all active websites](https://web.archive.org/web/20200130141042/https://news.netcraft.com/archives/2020/01/21/january-2020-web-server-survey.html) are still run on Apache and thus capable of utilizing `.htaccess` files. If nginx had a way to support this feature, this number would be going down significantly, making the web faster.
2323
* **Legacy.** Just use your old code, without worrying if someone could access a protected directory inside any library you just forgot to handle in your nginx config.
2424
* **Plug and play.** No need to convert `.htaccess` files for nginx and fix all the errors, rant about unsupported or oddly mixed up auto-generated config goo coming from a random online converter.
2525
* **Justified.** Apache performs multiple file reads anyway, so .htaccess for nginx cannot make it worse than Apache, right? In fact, with our built-in micro caching mechanism both, CPU and I/O load are reduced drastically compared to Apache's implementation.
@@ -47,7 +47,7 @@ Physical memory usage of this plugin is insanely low, under 10 KB for each nginx
4747
1. Install nginx (with the [Lua module](https://github.com/openresty/lua-nginx-module) if you don't already have it) and luajit.
4848
1. Debian: `apt-get install nginx luajit`
4949
1. Fedora: `yum install nginx luajit`
50-
1. uild and install the plugin into an appropriate directory accessible by the nginx process, e.g.,
50+
1. Build and install the plugin into an appropriate directory accessible by the nginx process, e.g.,
5151
```bash
5252
luajit -b htaccess.lua /etc/nginx/lua/htaccess.lbc
5353
```

0 commit comments

Comments
 (0)