annotate docs/html/index.html @ 7003:7943298d4ac0

Contrib: proper syntax parsing in vim syntax highlighting. Instead of highlighting directives in arbitrary positions, proper parsing of nginx.conf syntax was implemented, matching what nginx does internally. This allows vim to correctly highlight various complex cases, including: return 301 http://example.com/path#fragment"; and also avoids highlighting of parameters as directives, as in server_name missing.semicolon.example.com index index.php; where "index" is not a directive but a parameter of the "server_name" directive due to missing semicolon. Most important downside of this approach seems to be that there is no easy way to introduce directive-specific parameters. As such, only "listen" directive parameters were preserved.
author Maxim Dounin <mdounin@mdounin.ru>
date Mon, 22 May 2017 16:34:47 +0300
parents ed470a7bf7fd
children 67c68cd973b8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4834
ed470a7bf7fd Improved welcome page.
Valentin Bartenev <vbart@nginx.com>
parents: 450
diff changeset
1 <!DOCTYPE html>
450
551102312e19 nginx-0.1.0-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
2 <html>
551102312e19 nginx-0.1.0-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
3 <head>
551102312e19 nginx-0.1.0-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
4 <title>Welcome to nginx!</title>
4834
ed470a7bf7fd Improved welcome page.
Valentin Bartenev <vbart@nginx.com>
parents: 450
diff changeset
5 <style>
ed470a7bf7fd Improved welcome page.
Valentin Bartenev <vbart@nginx.com>
parents: 450
diff changeset
6 body {
ed470a7bf7fd Improved welcome page.
Valentin Bartenev <vbart@nginx.com>
parents: 450
diff changeset
7 width: 35em;
ed470a7bf7fd Improved welcome page.
Valentin Bartenev <vbart@nginx.com>
parents: 450
diff changeset
8 margin: 0 auto;
ed470a7bf7fd Improved welcome page.
Valentin Bartenev <vbart@nginx.com>
parents: 450
diff changeset
9 font-family: Tahoma, Verdana, Arial, sans-serif;
ed470a7bf7fd Improved welcome page.
Valentin Bartenev <vbart@nginx.com>
parents: 450
diff changeset
10 }
ed470a7bf7fd Improved welcome page.
Valentin Bartenev <vbart@nginx.com>
parents: 450
diff changeset
11 </style>
450
551102312e19 nginx-0.1.0-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
12 </head>
4834
ed470a7bf7fd Improved welcome page.
Valentin Bartenev <vbart@nginx.com>
parents: 450
diff changeset
13 <body>
ed470a7bf7fd Improved welcome page.
Valentin Bartenev <vbart@nginx.com>
parents: 450
diff changeset
14 <h1>Welcome to nginx!</h1>
ed470a7bf7fd Improved welcome page.
Valentin Bartenev <vbart@nginx.com>
parents: 450
diff changeset
15 <p>If you see this page, the nginx web server is successfully installed and
ed470a7bf7fd Improved welcome page.
Valentin Bartenev <vbart@nginx.com>
parents: 450
diff changeset
16 working. Further configuration is required.</p>
ed470a7bf7fd Improved welcome page.
Valentin Bartenev <vbart@nginx.com>
parents: 450
diff changeset
17
ed470a7bf7fd Improved welcome page.
Valentin Bartenev <vbart@nginx.com>
parents: 450
diff changeset
18 <p>For online documentation and support please refer to
ed470a7bf7fd Improved welcome page.
Valentin Bartenev <vbart@nginx.com>
parents: 450
diff changeset
19 <a href="http://nginx.org/">nginx.org</a>.<br/>
ed470a7bf7fd Improved welcome page.
Valentin Bartenev <vbart@nginx.com>
parents: 450
diff changeset
20 Commercial support is available at
ed470a7bf7fd Improved welcome page.
Valentin Bartenev <vbart@nginx.com>
parents: 450
diff changeset
21 <a href="http://nginx.com/">nginx.com</a>.</p>
ed470a7bf7fd Improved welcome page.
Valentin Bartenev <vbart@nginx.com>
parents: 450
diff changeset
22
ed470a7bf7fd Improved welcome page.
Valentin Bartenev <vbart@nginx.com>
parents: 450
diff changeset
23 <p><em>Thank you for using nginx.</em></p>
450
551102312e19 nginx-0.1.0-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
24 </body>
551102312e19 nginx-0.1.0-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
25 </html>