Difference between revisions of "Package:Tengine"

 
Line 5: Line 5:
 
|Homepage=http://tengine.taobao.org
 
|Homepage=http://tengine.taobao.org
 
}}
 
}}
Tengine is an nginx fork.  It supports DSO module loading, meaning it can have external modules with out the need to compile them in.
+
Tengine is an nginx fork.  It supports DSO module loading, meaning it can have external modules without the need to compile them in.
  
==Install==
+
==Installation==
 
{{console|body=###i## emerge tengine}}
 
{{console|body=###i## emerge tengine}}
  
Line 29: Line 29:
  
 
===Sites===
 
===Sites===
{{c|/etc/tengine/sites-available/localhost}} has site specific configurations.  generally localhost is copied to domain.tld file formats in the {{c|/etc/tengine/sites-available/}} directory.
+
{{c|/etc/tengine/sites-available/localhost}} has site specific configurations.  Generally localhost is copied to domain.tld file formats in the {{c|/etc/tengine/sites-available/}} directory.
  
==Use==
+
==Usage==
 
To start the tengine server:
 
To start the tengine server:
  

Latest revision as of 08:36, January 30, 2015

www-servers/tengine


Source Repository:Funtoo Overlay
Homepage

Summary: Robust, small and high performance http and reverse proxy server


News

Drobbins

RSS/Atom Support

You can now follow this news feed at http://www.funtoo.org/news/atom.xml .
10 February 2015 by Drobbins
Drobbins

Creating a Friendly Funtoo Culture

This news item details some recent steps that have been taken to help ensure that Funtoo is a friendly and welcoming place for our users.
2 February 2015 by Drobbins
Mgorny

CPU FLAGS X86

CPU_FLAGS_X86 are being introduced to group together USE flags managing CPU instruction sets.
31 January 2015 by Mgorny
View More News...

Tengine

Tip

This is a wiki page. To edit it, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.

Tengine is an nginx fork. It supports DSO module loading, meaning it can have external modules without the need to compile them in.

Installation

# emerge tengine


Configuration

Files for configuration are located at /etc/tengine

The major differing point in tengine from nginx is that you have to specifically declare which modules are loaded. Available modules are located at /var/lib/tengine/modules.

/etc/tengine/tengine.conf - DSO module statements
...
dso {
	load ngx_http_charset_filter_module.so;
	load ngx_http_fastcgi_module.so;
	load ngx_http_rewrite_module.so;
}
...

Tengine

/etc/tengine/tengine.conf contains engine specific configurations.

Sites

/etc/tengine/sites-available/localhost has site specific configurations. Generally localhost is copied to domain.tld file formats in the /etc/tengine/sites-available/ directory.

Usage

To start the tengine server:

# rc-update add tengine default
# rc