-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·75 lines (60 loc) · 2.88 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>HTTP Static Web Server</title>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="A web server for static files">
<meta name="author" content="Nik Martin">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css"
integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<style>
body {
padding-top: 5rem;
}
</style>
</head>
<body>
<nav class="navbar navbar-expand-md navbar-dark bg-dark fixed-top">
<a class="navbar-brand" href="//github.com/nikmartin/http-static">HTTP-Static</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbar" aria-controls="navbar"
aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbar">
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
<a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" target="_blank" rel="noopener" href="https://github.com/nikmartin/http-static/issues">Issues</a>
</li>
<li class="nav-item">
<a class="nav-link" target="_blank" rel="noopener" href="https://github.com/nikmartin/http-static/issues">Contact</a>
</li>
</ul>
</div>
</nav>
<a href="https://github.com/nikmartin/http-static">
<img style="position: absolute; top: 55px; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_orange_ff7600.png"
alt="Fork me on GitHub"></a>
<main role="main" class="container">
<h1>HTTP Static Webserver</h1>
<p>
HTTP Static is a tiny web server for testing static web pages. It is designed around testing and
developing single page web apps, like with Backbone, Ember, Angular etc. It handles mime-types,
includes, etc. Just install it, and run it. It serves files out of the directory it is running in,
and any files and folders that are included underneath.
</p>
<h3>SSL Support</h3>
<p>
Http-Static will do simple SSL, just edit lines 4 and 5 to set the path to your key and cert. It
will fall back to http if either can't be read;
</p>
</main><!-- /.container -->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy"
crossorigin="anonymous"></script>
</body>
</html>