Skip to content

caiye1985/android-nginx

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nginx for Android

Nginx Base Version

Nginx release 1.7.0

Build Manual

Install build tools

Install following build tools.

name value
HOME Your home directory
ANDROID_HOME Android SDK install path
ANDROID_NDK_HOME Android NDK install path

And, make standalone toolchain.

#!sh
% $ANDROID_NDK_HOME/build/tools/make-standalone-toolchain.sh \
    --platform=android-19 --install-dir=$HOME/local/android-toolchain

Configuration nginx core and modules

Connect android device with USB cable, or launch android emulator.

Run command to configure nginx core and libraries.

#!sh
% auto/configure \
    --crossbuild=android-arm \
    --prefix=/sdcard/nginx \
    --with-cc=$HOME/local/android-toolchain/arm-linux-androideabi/bin/gcc \
    --without-pcre --without-http_rewrite_module --without-http_userid_module \
    --with-cc-opt=-Wno-sign-compare

License

The application released under WTFPL

            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
                    Version 2, December 2004

 Copyright (C) 2014 Naoki Takimura <n.takimura@gmail.com>

 Everyone is permitted to copy and distribute verbatim or modified
 copies of this license document, and changing it is allowed as long
 as the name is changed.

            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

  0. You just DO WHAT THE FUCK YOU WANT TO.

Nginx's license is not WTFPL. Check its license in http://nginx.org/LICENSE .

About

Nginx on Android platform.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 97.7%
  • Vim Script 0.8%
  • XS 0.5%
  • C++ 0.5%
  • Perl 0.2%
  • Makefile 0.1%
  • Other 0.2%