Skip to content

Commit 76e92c4

Browse files
committed
Simplify how-to-install-openresty-on-termux-natively.md
1 parent 5861fd8 commit 76e92c4

1 file changed

Lines changed: 2 additions & 20 deletions

File tree

content/posts/how-to-install-openresty-on-termux-natively.md

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -27,22 +27,7 @@ chmod +x build-openresty-termux.sh
2727
```
2828
## Configuration
2929

30-
The script installs OpenResty into an isolated folder in your home directory (`~/openresty-install`). The configuration file is located at:
31-
32-
```bash
33-
# Configuration file path
34-
~/openresty-install/usr/local/openresty/nginx/conf/nginx.conf
35-
```
36-
37-
You can verify and edit your configuration using:
38-
39-
```bash
40-
# Check if the file exists
41-
ls -F ~/openresty-install/usr/local/openresty/nginx/conf/nginx.conf
42-
43-
# Edit the configuration
44-
nano ~/openresty-install/usr/local/openresty/nginx/conf/nginx.conf
45-
```
30+
The script installs OpenResty into an isolated folder in your home directory (`~/openresty-install`). The configuration file is located at: `~/openresty-install/usr/local/openresty/nginx/conf/nginx.conf`.
4631

4732
**Note:** The build script automatically configures the server to listen on port **8080**, so you can start it immediately without manual configuration changes.
4833

@@ -82,7 +67,4 @@ openresty -s reload
8267
openresty -s stop
8368
```
8469

85-
86-
**Note:** All native files are located within your home directory (`~/openresty-install/`), completely independent of the standard Termux prefix or any PRoot environment.
87-
88-
Running OpenResty natively turns your Android device into a high-performance web server and Lua gateway without any extra layers. Check out the [repository](https://github.com/joaothallis/termux-openresty) for more details and to contribute!
70+
Running OpenResty natively turns your Android device into a high-performance web server and Lua gateway without any extra layers. Check out the [repository](https://github.com/joaothallis/termux-openresty) for more details!

0 commit comments

Comments
 (0)