Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

添加 ssl 支持,以及 lua 文档微调

  • Loading branch information...
commit 4a288982db6f53eeaffc3ef02730aede5ca3fbab 1 parent b2dff89
@kindy61 kindy61 authored
View
5 conf/srv.ngx.so.conf
@@ -1,11 +1,16 @@
server {
listen 80;
+ listen 443 ssl;
server_name ngx.so;
+ ssl_certificate /home/kindy/git/ngx.so/ssl/nginx.pem;
+ ssl_certificate_key /home/kindy/git/ngx.so/ssl/nginx.key;
+
access_log logs/ngx.so.access.log;
root /home/kindy/www/ngx.so;
expires max;
+ keepalive_timeout 30;
gzip on;
gzip_min_length 1k;
gzip_types application/x-javascript application/atom+xml application/rss+xml text/javascript text/css text/xml;
View
2  docs/lua/5.1/index.html
@@ -2,7 +2,7 @@
<HTML>
<HEAD>
<TITLE>Lua 5.1 Reference Manual - contents</TITLE>
-<LINK REL="stylesheet" TYPE="text/css" HREF="../../lua.css">
+<LINK REL="stylesheet" TYPE="text/css" HREF="../lua.css">
<META HTTP-EQUIV="content-type" CONTENT="text/html; charset=utf-8">
<STYLE TYPE="text/css">
ul {
View
2  docs/lua/5.1/manual.html
@@ -3,7 +3,7 @@
<head>
<title>Lua 5.1 Reference Manual</title>
-<link rel="stylesheet" type="text/css" href="../../lua.css">
+<link rel="stylesheet" type="text/css" href="../lua.css">
<link rel="stylesheet" type="text/css" href="../manual.css">
<META HTTP-EQUIV="content-type" CONTENT="text/html; charset=iso-8859-1">
</head>
View
2  docs/lua/5.2/contents.html
@@ -2,7 +2,7 @@
<HTML>
<HEAD>
<TITLE>Lua 5.2 Reference Manual - contents</TITLE>
-<LINK REL="stylesheet" TYPE="text/css" HREF="../../lua.css">
+<LINK REL="stylesheet" TYPE="text/css" HREF="../lua.css">
<META HTTP-EQUIV="content-type" CONTENT="text/html; charset=iso-8859-1">
<STYLE TYPE="text/css">
ul {
View
2  docs/lua/5.2/manual.html
@@ -3,7 +3,7 @@
<head>
<title>Lua 5.2 Reference Manual</title>
-<link rel="stylesheet" type="text/css" href="../../lua.css">
+<link rel="stylesheet" type="text/css" href="../lua.css">
<link rel="stylesheet" type="text/css" href="../manual.css">
<META HTTP-EQUIV="content-type" CONTENT="text/html; charset=iso-8859-1">
</head>
View
83 docs/lua/lua.css
@@ -0,0 +1,83 @@
+body {
+ color: #000000 ;
+ background-color: #FFFFFF ;
+ font-family: Helvetica, Arial, sans-serif ;
+ text-align: justify ;
+ margin-right: 30px ;
+ margin-left: 30px ;
+}
+
+h1, h2, h3, h4 {
+ font-family: Verdana, Geneva, sans-serif ;
+ font-weight: normal ;
+ font-style: italic ;
+}
+
+h2 {
+ padding-top: 0.4em ;
+ padding-bottom: 0.4em ;
+ padding-left: 30px ;
+ padding-right: 30px ;
+ margin-left: -30px ;
+ background-color: #E0E0FF ;
+}
+
+h3 {
+ padding-left: 0.5em ;
+ border-left: solid #E0E0FF 1em ;
+}
+
+table h3 {
+ padding-left: 0px ;
+ border-left: none ;
+}
+
+a:link {
+ color: #000080 ;
+ background-color: inherit ;
+ text-decoration: none ;
+}
+
+a:visited {
+ background-color: inherit ;
+ text-decoration: none ;
+}
+
+a:link:hover, a:visited:hover {
+ color: #000080 ;
+ background-color: #E0E0FF ;
+}
+
+a:link:active, a:visited:active {
+ color: #FF0000 ;
+}
+
+hr {
+ border: 0 ;
+ height: 1px ;
+ color: #a0a0a0 ;
+ background-color: #a0a0a0 ;
+}
+
+:target {
+ background-color: #F8F8F8 ;
+ padding: 8px ;
+ border: solid #a0a0a0 2px ;
+}
+
+.footer {
+ color: gray ;
+ font-size: small ;
+}
+
+input[type=text] {
+ border: solid #a0a0a0 2px ;
+ border-radius: 2em ;
+ -moz-border-radius: 2em ;
+ background-image: url('images/search.png') ;
+ background-repeat: no-repeat;
+ background-position: 4px center ;
+ padding-left: 20px ;
+ height: 2em ;
+}
+
View
24 docs/lua/manual.css
@@ -0,0 +1,24 @@
+h3 code {
+ font-family: inherit ;
+ font-size: inherit ;
+}
+
+pre, code {
+ font-size: 12pt ;
+}
+
+span.apii {
+ float: right ;
+ font-family: inherit ;
+ font-style: normal ;
+ font-size: small ;
+ color: gray ;
+}
+
+p+h1, ul+h1 {
+ padding-top: 0.4em ;
+ padding-bottom: 0.4em ;
+ padding-left: 30px ;
+ margin-left: -30px ;
+ background-color: #E0E0FF ;
+}
Please sign in to comment.
Something went wrong with that request. Please try again.