Nginx Simple optimization

1. Reduce the Nginx compiled file size (reduce file size of Nginx) The default Nginx compilation options are actually in debug mode (-G) (debug mode inserts a lot of trace and assert, and so on), after compiling a nginx has several megabytes. Remove Nginx debug mode compilation, after compiling only hundreds of K in AUTO/CC/GCC, the last few lines have: # debugcflags= "$CFLAGS-G" commented off or ...

Nginx Cache service configuration and load balancing

Nginx Cache Service Configuration If you need to cache files locally, you need to add the following sub parameters: Proxy_store on;proxy_store_access user:rw GROUP:RW All:rw;proxy_temp_path Cache directory; Where Proxy_store on is used to enable caching to local functionality, Proxy_temp_path is used to specify in which directory the cache is cached, such as: Proxy_temp_p ...

Nginx complete and compile the custom module

Now, you should be prepared to look at Nginx's real module and wonder how Nginx works. See Nginx source code is necessary, choose a function and you want to do the similar module, understand it, and then imitate it, to achieve it, is not very simple. Emiller not write an in-depth reading of the Nginx module of the article, absolutely not, this is an application-oriented article, I recorded their own insights, and write their own modules, and share with the world. First, you need a directory to put your module, preferably not in n ginx ...

Strongswan 4.6.3 publish IPSec based VPN solution

Strongswan is a complete IPSec implementation for Linux, Android, Maemo, FreeBSD, and Mac OS x systems. It supports the interoperability of most IPSec-based VPN products through a IKEV2 or IKEV1 key exchange protocol. The focus is on strong authentication mechanisms that use smart cards to use a standardized pkcs#11 interface for using a X.509 public key certificate and an optional secure storage private key. Strongswan 4.6.3 This version adds an extended e ...

CryptoHeaven 3.6.2 Publish E-mail Tools

CryptoHeaven is an e-mail tool that provides secure email and online http://www.aliyun.com/zixun/aggregation/18450.html > file sharing/Storage. It features security and advanced encryption services, including group collaboration, file sharing, e-mail, online storage, and instant messaging. It provides real-time communication of text and data transmission in a multiuser security environment. CryptoHeaven 3.6.2 ...

Analysis of Nginx load Balancing module

The load-balancing module determines which backend servers can be divided into specific requests, and the existing implementations are hashed through the rotation method or some portions of the request. This section will introduce http://www.aliyun.com/zixun/aggregation/13996.html "> Load Balancing Module registration and invocation, and take the Upstream_hash module as an example (source code). Upstream_hash module on a variable defined in nginx.conf ...

Mod_plua 0.52 to publish the Lua module of the Apache HTTP server

Mod_plua is a http://www.aliyun.com/zixun/aggregation/14417.html ">apache HTTP Server 2.x module for LUA web development applications. You can use LUA scripts in two different ways: embedded LUA scripts, or pure LUA scripts for CGI-style interfaces. Embedded LUA script:<html> <body> Get ...

Nginx access control and log processing

Nginx http://www.aliyun.com/zixun/aggregation/38609.html "> Access control 1.Nginx ID card Verification #cd/usr/local/nginx/conf#mkdir Htpasswd/usr/local/apache2/bin/htpasswd-c/usr/local/nginx/conf/htpasswd/tongji ...

Analyze the function of Nginx filter module

4.1. Analysis of the Head filter function head Filter function consists of the following three basic components: 1. Decide whether to manipulate this reply 2. Manipulate this reply 3. Call the next filter function For example, here is a simple version of the "unmodified" header filter function. If the client's if-modfied-since head matches the last-modified header of the reply, the State is set to 304 not flushes. The head filter function has only one parameter ngx_http_re ...

MSMTP 1.4.28 publishes SMTP clients that SendMail compatible interfaces

MSMTP is an SMTP mail Transfer Protocol client that is a SendMail compliant interface. It can forward messages to the SMTP server using Mutt and other Muas. Features include various SMTP Auth methods, TLS cryptographic connections (including client certificate support), support for multiple accounts, support for DSN, and http://www.aliyun.com/zixun/aggregation/9485.html "> IPv6. MSMTP 1.4 ...

Nginx expires module and anti-theft chain

Nginx expires 1. According to the file type expires # ADD expires header for static contentlocation ~* \. (js|css|jpg|jpeg|gif|png|swf) $ {if (f $request _filehttp://www.aliyun.com/zixun/aggregation/11696.html >na ...)

Profiling Nginx Processing Module Registration

The processing module is registered by adding code to the callback function in the directive. For example, my circle GIF ngx_command_t structure looks like this: {ngx_string ("Circle_gif"), ngx_http_loc_conf| Ngx_conf_noargs, ngx_http_circle_gif, 0, 0, NULL} callback function is the third member, in this case is n ...

Mpop 1.0.27 Release Portable POP3 mail client

Mpop is a small, fast, and portable POP3 client that can retrieve messages from POP3 mailboxes. Mpop main features include: • Mail filtering based on message headers (filter http://www.aliyun.com/zixun/aggregation/12915.html "> spam" before downloading); Send to mbox file Maildir folder or mail forwarding agent (MDA); • Use command line to quickly implement pop3; ...

Nginx directory automatic Slash, location example

Nginx Directory automatic Slash: if (-D $request _filehttp://www.aliyun.com/zixun/aggregation/11696.html ">name) {rewrite ^/(. *) ([^/] ) $ http://$host/$1$2/permanent; Nginx Location 1. Basic syntax: [and above rewrite regular match syntax basic ...

Httpbench 0.2.1.1 Publish HTTP Server benchmark program

HTTP Bench is a benchmark applet for HTTP servers, written in C language. The current version features include an iterative URL list, measuring response time, calculating the minimum, maximum, and average, measuring tcp/http errors, multithreading of concurrent connections (using pthreads), and setting an upper bound per second of request and response string validation. Httpbench 0.2.1.1 This version fixes an error resolution HTTP URL. Software Information: http://httpbench.b ...

Mu 0.9.8.4 publish mail directory tool

Mu is a mail directory tool for indexing and searching messages. It can fill in the http://www.aliyun.com/zixun/aggregation/13779.html "> Information database for e-mail, and then query using a simple query language." It can work independently or integrated into the mail client, providing an Emacs-based e-mail client (MU4E) and guile/scheme binding. Mu 0.9.8.4 This version has updated ...

Powerdns Authoritative Server 3.1 publishes authoritative domain name server

Powerdns http://www.aliyun.com/zixun/aggregation/11646.html ">authoritative server is a high performance authoritative domain name server with a backend. It supports pure bind profiles, and PDNs can read information from MySQL, Oracle, PostgreSQL, SQLite, MongoDB, and many other databases. The back end can be easily written in any language ...

Unicorn 4.3.1 Publish HTTP Server

Unicorn is a UNIX and LAN/localhost optimized HTTP server. It makes full use of the functionality of the UNIX operating system of the unique class to restart the process of the application, or to manage multiple processes on its own, by the operating system kernel to complete the http://www.aliyun.com/zixun/aggregation/13996.html " > Load Balancing. The server is not worried about the security of your application's thread, as a manual processing corresponds to each client's independent operation ...

Nginx rewrite and redirect module usage instructions

Nginx Rewrite 1. Nginx Rewrite basic mark (flags) Last-basically uses this flag. ※ the equivalent of http://www.aliyun.com/zixun/aggregation/14417.html ">apache [L] tag, which means complete rewrite, no longer matches the following rule break-abort rewirte, Do not continue to match redirect-...

DNSMASQ 2.61 Publishing the DNS transporter and DHCP server

DNSMASQ is a lightweight, easily configurable DNS transmitter and DHCP server. It provides DNS and DHCP to a small network service that can serve DNS naming of local computers. The DHCP server integrates with the http://www.aliyun.com/zixun/aggregation/33842.html ">dns server", allowing the name of each host or centralized profile configuration to appear in the DNS and DHCP-assigned address machine. DNSMASQ support ...

Total Pages: 1204 1 .... 197 198 199 200 201 .... 1204 Go to: GO

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.