官术网_书友最值得收藏!

  • Lighttpd
  • Andre Bogus
  • 239字
  • 2021-08-25 18:06:18

Conventions

In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.

Code words in text are shown as follows: "We can include other contexts through the use of the include directive."

A block of code will be set as follows:

$HTTP["url"] =~ ".py" { # use SCGI for python files
proxy_core.protocol = "scgi"
proxy-core.balancer = "carp" # tries to keep processes together
proxy-core.backends = { # we have 3 SCGI servers to balance:
"127.0.0.1:3456", # a local port (by IP address)
"otherhost.mydomain.net:3456", # a port on another host
"unix:/tmp/python.socket" # a unix socket
}
proxy-core.max-pool-size = 3 # for SCGI the number of backends
# for other options, see Appendix B
}

When we wish to draw your attention to a particular part of a code block, the relevant lines or items will be made bold:

<startup>
while (FCGI_Accept())
<handle request>
<cleanup>

Any command-line input and output is written as follows:

$ gcc -Wall -O2 -g -o magnet magnet.c -lfcgi -llua -lm -ldl -Wl,-E

New terms and important words are introduced in a bold-type font. Words that you see on the screen, in menus or dialog boxes for example, appear in our text like this: "clicking the Next button moves you to the next screen".

Note

Important notes appear in a box like this.

Note

Tips and tricks appear like this.

主站蜘蛛池模板: 斗六市| 九江县| 常州市| 广昌县| 南部县| 峨边| 清镇市| 县级市| 南皮县| 金沙县| 泉州市| 萝北县| 涟水县| 香港| 准格尔旗| 玉林市| 莱阳市| 福安市| 郓城县| 河曲县| 拜城县| 平遥县| 中牟县| 正安县| 娱乐| 南靖县| 六枝特区| 郎溪县| 英超| 崇义县| 屏山县| 芦山县| 凤山县| 荥经县| 博兴县| 郎溪县| 耿马| 华亭县| 屯门区| 绥德县| 梓潼县|