-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
69 lines (56 loc) · 3.37 KB
/
index.php
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>Test Azure Traffic Manager Template</title>
<!-- Bootstrap -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<nav class="navbar navbar-inverse">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">Test Azure Traffic Manager Template</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li class="active"><a href="#">Home</a></li>
</ul>
</div><!--/.nav-collapse -->
</div>
</nav>
<div class="jumbotron"></div>
<div class="container" role="main">
<div class="row">
<h1>Test Azure Traffic Manager Template</h1>
<p class="lead">This sample site demonstrates how to verify that Azure Traffic Manager is working with multiple Web App endpoints as expected.</p>
<p>With this site deployed, use an online tool such as Pingdom Free Page Test (<a href="https://tools.pingdom.com/">https://tools.pingdom.com/</a>) and test the URL of this Azure Traffic Manager instance.</p>
<h2>How to Perform the Test</h2>
<p>Visit the web testing site and enter the URL of this Azure Traffic Manager instance. Set the test from location to a location close to one of your endpoints and repeat the test a second time using a location close to your other endpoint.</p>
<p>In the Pingdom FPT results, you will see a preview of the site that was loaded in each location.</p>
<h1>This page was loaded from <?php echo getenv("WEBAPP_LOCATION") ?>.</h1>
<!-- We can also print the instance name to a HTML comment so that it's hidden in the browser Development Tools for debugging when we need it -->
<!-- his page was loaded from <?php echo getenv("WEBAPP_LOCATION") ?>. -->
</div><!-- /.row -->
</div><!-- /.container -->
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</body>
</html>