Skip to content

andrwj/termux-nginx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

termux-nginx

Precompiled NginX binary for running in Termux/Android

screenshot

Compiled options

./configure \
  --prefix=/data/data/com.termux/files/usr/share/nginx \
  --pid-path=/data/data/com.termux/files/usr/var/run/nginx.pid \
  --lock-path=/data/data/com.termux/files/usr/var/log/nginx.lock \
  --http-log-path=/data/data/com.termux/files/usr/var/log/nginx/access.log \
  --with-http_ssl_module \
  --with-stream \
  --with-compat

Installation

Copy .tgz file into termux and extract on /data/data/com.termux/files/usr/share/. Don't forget to make log directory.

$ cd
$ mkdir -p ../usr/var/log/nginx
$ cd ../usr/share/
$ tar xvfz nginx-v1.11.5-termux.tgz
$ ls -F ./nginx/
client_body_temp/  conf/  fastcgi_temp/  html/  logs/  proxy_temp/  sbin/  scgi_temp/  uwsgi_temp/
$ cd ./nginx/sbin/
$ ./nginx -V
nginx version: nginx/1.11.5
built with OpenSSL 1.0.2j  26 Sep 2016
TLS SNI support enabled
configure arguments: --prefix=/data/data/com.termux/files/usr/share/nginx --pid-path=/data/data/com.termux/files/usr/var/run/nginx.pid --lock-path=/data/data/com.termux/files/usr/var/log/nginx.lock --http-log-path=/data/data/com.termux/files/usr/var/log/nginx/access.log --with-http_ssl_module --with-stream --with-compat

nginx version

v1.11.5

Compiled at Nov. 12 2016 by @andrwj

About

compiled Nginx binary for Termux appliation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages