-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.html
65 lines (65 loc) · 3.26 KB
/
test.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>uffsalot.dn42</title>
<link rel="stylesheet" href="css/bootstrap.min.css"/>
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<a class="navbar-brand" href="#">uffsalot.dn42</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav">
<li class="nav-item <?php if($myself == "index"){ echo 'active';}?>">
<a class="nav-link" href="/">Home</a>
</li>
<li class="nav-item <?php if($myself == "peers"){ echo 'active';}?>">
<a class="nav-link" href="peers.php">Peers</a>
</li>
<li class="nav-item <?php if($myself == "request"){ echo 'active';}?>">
<a class="nav-link" href="services.php">Services</a>
</li>
<li class="nav-item <?php if($myself == "request"){ echo 'active';}?>">
<a class="nav-link" href="request.php">Request peering</a>
</li>
</ul>
</div>
</nav>
<div class="container-fluid pt-4">
<div class="row">
<div class="col">
<div class="card text-white bg-dark mb-3 h-100">
<div class="card-header">APT Mirror/Cache</div>
<div class="card-body">
<p>For DN42-only clients I host an instance of apt-cacher-ng at <a href="http://mirror.uffsalot.dn42:3142/">mirror.uffsalot.dn42:3142</a>.<br>
<p>There are 2 ways to use this mirror.</p>
<ol>
<li>
<dl>
<dt>Configure it as a proxy in your apt.conf</dt>
<dd><code>Acquire::http { Proxy "http://mirror.uffsalot.dn42:3142"; };</code><br>
<strong>Beware!</strong> You <strong>MUST</strong> choose a origin mirror which is dualstack or IPv6 only, as the container only has a public IPv6 address.
</dd>
</dl>
</li>
<li>
<dl>
<dt>Replace your source.list entries with my hostname</dt>
<dd><code>deb http://mirror.uffsalot.dn42/debian/ unstable main</code><br>
Only works for Debian & Ubuntu. Maybe I will sometime create a full mirror at this address, but for now this is only a reverse proxy for apt-cacher-ng.
</dd>
</dl>
</li>
</ol>
</p>
</div>
</div>
</div>
</div>
</div>
<script src="js/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="js/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
<script src="js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
</body>