Skip to content

Commit 625fead

Browse files
committed
docs: finalize native OpenResty post with verified absolute paths
1 parent 99e3044 commit 625fead

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

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

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

30-
By default, the script installs OpenResty to a specific path in your home directory. The configuration file is located at:
30+
The script installs OpenResty into an isolated folder in your home directory (`~/openresty-install`). The configuration file is located at:
3131

3232
```bash
3333
# Configuration file path
@@ -48,9 +48,10 @@ nano ~/openresty-install/usr/local/openresty/nginx/conf/nginx.conf
4848

4949
## Usage
5050

51-
The script creates wrapper binaries in `~/bin/`. To use them, ensure this directory is in your `PATH`:
51+
The script creates wrapper binaries in `~/bin/`. To use them, ensure this directory is in your `PATH` (usually handled in your `.bashrc`):
5252

5353
```bash
54+
# Ensure ~/bin is in your PATH
5455
export PATH="$HOME/bin:$PATH"
5556
```
5657

@@ -82,6 +83,6 @@ openresty -s stop
8283
```
8384

8485

85-
**Note:** All native files are located within your `$HOME` directory (`~/openresty/`), completely independent of the standard Termux prefix or any PRoot environment.
86+
**Note:** All native files are located within your home directory (`~/openresty-install/`), completely independent of the standard Termux prefix or any PRoot environment.
8687

8788
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!

0 commit comments

Comments
 (0)