Browse Source

ajout des confs Nginx de base + html

master
Jérémy Lecour 6 months ago
committed by Jérémy Lecour
commit
9db7f52caa
  1. 49
      index-81.html
  2. 49
      index-82.html
  3. 11
      vhost-81.conf
  4. 11
      vhost-82.conf

49
index-81.html

@ -0,0 +1,49 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="robots" content="noindex, nofollow"/>
<link rel="icon" type="image/ico" href="img/favicon.ico" />
<title>atlantide-template</title>
<style type="text/css">
body, html {
margin: auto;
font-family: "Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
font-size: 14px;
border-top: #86CBE7 solid 1px;
}
#container {
padding-top: 20px;
width: 768px;
margin: auto;
overflow: hidden;
}
h1.hostname {
padding-top: 50px;
color: #373637;
border-bottom: 1px solid #a9a9a9;
background-image: url(./img/background-top.png);
background-repeat: no-repeat;
background-position: 510px 5px;
}
p.footer {
border-top: 1px solid #a9a9a9;
padding-top: 5px;
font-size: 12px;
text-align: right;
}
</style>
</head>
<body>
<div id="container">
<h1 class="hostname">atlantide-haproxy : port 81</h1>
<p class="footer">
Powered by <a href="http://www.evolix.com/">Evolix</a>
</p>
</div>
</body>
</html>

49
index-82.html

@ -0,0 +1,49 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="robots" content="noindex, nofollow"/>
<link rel="icon" type="image/ico" href="img/favicon.ico" />
<title>atlantide-template</title>
<style type="text/css">
body, html {
margin: auto;
font-family: "Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
font-size: 14px;
border-top: #86CBE7 solid 1px;
}
#container {
padding-top: 20px;
width: 768px;
margin: auto;
overflow: hidden;
}
h1.hostname {
padding-top: 50px;
color: #373637;
border-bottom: 1px solid #a9a9a9;
background-image: url(./img/background-top.png);
background-repeat: no-repeat;
background-position: 510px 5px;
}
p.footer {
border-top: 1px solid #a9a9a9;
padding-top: 5px;
font-size: 12px;
text-align: right;
}
</style>
</head>
<body>
<div id="container">
<h1 class="hostname">atlantide-haproxy : port 82</h1>
<p class="footer">
Powered by <a href="http://www.evolix.com/">Evolix</a>
</p>
</div>
</body>
</html>

11
vhost-81.conf

@ -0,0 +1,11 @@
server {
listen 81;
server_name _;
root /var/www/81;
index index.html;
location / {
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
try_files $uri $uri/ =404;
}
}

11
vhost-82.conf

@ -0,0 +1,11 @@
server {
listen 82;
server_name _;
root /var/www/82;
index index.html;
location / {
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
try_files $uri $uri/ =404;
}
}
Loading…
Cancel
Save