mirror of
https://github.com/cunnie/sslip.io.git
synced 2025-10-06 16:18:00 +08:00
HTML: {sslip,nip}.io: fix favicon, cleanup
- the sslip.io favicon wasn't working, a side effect of switching away from k8s. I now hard-code the favicon.ico to https://sslip.io so that I don't need to copy it to all the mirrors - the nip.io favicon wasn't working, I forgot to copy it from Roopinder's site, so I'm using sslip.io's icon instead - Similarly, I forgot to copy Roopinder's `app.css`; oh well, the styling looks good enough - remove `ie10-viewport..`; it 404'ed. Besides, who uses Windows 8? - remove `starter-template.css`; I couldn't see any obvious difference, and I'm a big fan of keeping things simple, including the minimum number of files. Also, the comment about IE8 made no sense. - got rid of the warning about deprecating ns-azure & ns-aws; they've been gone for over six months. It wasted space & mind share - moved the alert about indexing to the bottom; I never cared about impostor sites, but accommodated Morty Feldman, and he appears to have lost interest (his last PR was nine months ago, 2024-09-19) - updated instructions for updating the website when rolling out new releases
This commit is contained in:
@@ -120,8 +120,10 @@ Trigger a new workflow to publish the Docker image: <https://github.com/cunnie/s
|
|||||||
Update the webservers with the HTML with new versions:
|
Update the webservers with the HTML with new versions:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
ssh nono.io curl -L -o /www/sslip.io/document_root/index.html https://raw.githubusercontent.com/cunnie/sslip.io/main/k8s/document_root_sslip.io/index.html
|
ssh nono.io
|
||||||
ssh nono.io curl -L -o /www/nip.io/document_root/index.html https://raw.githubusercontent.com/cunnie/sslip.io/main/k8s/document_root_nip.io/index.html
|
cd /www/sslip.io/
|
||||||
|
git pull -r
|
||||||
|
exit
|
||||||
for HOST in {blocked,ns-do-sg,ns-gce,ns-hetzner,ns-ovh}.sslip.io; do
|
for HOST in {blocked,ns-do-sg,ns-gce,ns-hetzner,ns-ovh}.sslip.io; do
|
||||||
ssh $HOST curl -L -o /var/nginx/sslip.io/index.html https://raw.githubusercontent.com/cunnie/sslip.io/main/k8s/document_root_sslip.io/index.html
|
ssh $HOST curl -L -o /var/nginx/sslip.io/index.html https://raw.githubusercontent.com/cunnie/sslip.io/main/k8s/document_root_sslip.io/index.html
|
||||||
done
|
done
|
||||||
|
@@ -18,7 +18,7 @@
|
|||||||
<link rel="stylesheet" href="https://unpkg.com/purecss@1.0.0/build/pure-min.css"
|
<link rel="stylesheet" href="https://unpkg.com/purecss@1.0.0/build/pure-min.css"
|
||||||
integrity="sha384-nn4HPE8lTHyVtfCBi5yW9d20FjT8BJwUXyWZT9InLYax14RDjBj46LmSztkmNP9w" crossorigin="anonymous" />
|
integrity="sha384-nn4HPE8lTHyVtfCBi5yW9d20FjT8BJwUXyWZT9InLYax14RDjBj46LmSztkmNP9w" crossorigin="anonymous" />
|
||||||
<link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet">
|
||||||
<link rel="stylesheet" href="app.css" type="text/css" />
|
<link rel="shortcut icon" type="image/x-icon" href="https://sslip.io/img/favicon.ico">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
@@ -1,11 +0,0 @@
|
|||||||
body {
|
|
||||||
padding-top: 50px;
|
|
||||||
}
|
|
||||||
.starter-template {
|
|
||||||
padding: 40px 15px;
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
table.sslip {
|
|
||||||
border-spacing: 10px 2px;
|
|
||||||
border-collapse: separate;
|
|
||||||
}
|
|
@@ -10,18 +10,9 @@ other head content must come *after* these tags -->
|
|||||||
<title>Welcome to sslip.io</title>
|
<title>Welcome to sslip.io</title>
|
||||||
<meta name="description" content="sslip.io">
|
<meta name="description" content="sslip.io">
|
||||||
<meta name="author" content="Brian Cunnie"><!-- cute Green Lock icon -->
|
<meta name="author" content="Brian Cunnie"><!-- cute Green Lock icon -->
|
||||||
<link rel="shortcut icon" type="image/x-icon" href="img/favicon.ico"><!-- Latest
|
<link rel="shortcut icon" type="image/x-icon" href="https://sslip.io/img/favicon.ico"><!-- Latest
|
||||||
compiled and minified CSS -->
|
compiled and minified CSS -->
|
||||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css"><!--
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
|
||||||
Optional theme -->
|
|
||||||
<link rel="stylesheet" href="css/starter-template.css"><!--
|
|
||||||
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.2/html5shiv.min.js"></script> <script
|
|
||||||
src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> <![endif]-->
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
@@ -29,7 +20,7 @@ src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> <![endif]-->
|
|||||||
<div class="alert alert-info" role="alert" style="margin-top: 20px; margin-bottom: 10px; text-align: center;">
|
<div class="alert alert-info" role="alert" style="margin-top: 20px; margin-bottom: 10px; text-align: center;">
|
||||||
<strong>This service is dedicated to the late, great Roopinder Singh, who created & ran nip.io</strong>
|
<strong>This service is dedicated to the late, great Roopinder Singh, who created & ran nip.io</strong>
|
||||||
</div>
|
</div>
|
||||||
<div class="starter-template" style="padding-top: 10px;">
|
<div style="padding-top: 10px;">
|
||||||
<h3 id="sslip.io">nip.io & sslip.io</h3>
|
<h3 id="sslip.io">nip.io & sslip.io</h3>
|
||||||
<p>Operational Status: <a href="https://github.com/cunnie/sslip.io/actions/workflows/nameservers.yml"><img
|
<p>Operational Status: <a href="https://github.com/cunnie/sslip.io/actions/workflows/nameservers.yml"><img
|
||||||
src="https://github.com/cunnie/sslip.io/actions/workflows/nameservers.yml/badge.svg"
|
src="https://github.com/cunnie/sslip.io/actions/workflows/nameservers.yml/badge.svg"
|
||||||
@@ -101,26 +92,10 @@ src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> <![endif]-->
|
|||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<div class="alert alert-success" role="alert">
|
|
||||||
<b>Developers: disable indexing of your staging site to avoid being blocked</b> (we block by disabling
|
|
||||||
resolution of your sslip.io hostname); disable indexing by either including the <code>X-Robots-Tag:
|
|
||||||
noindex</code> in your HTTP headers or include a <code>robots.txt</code> at the root of your website with the
|
|
||||||
following contents:<code><br>
|
|
||||||
User-agent: *<br>
|
|
||||||
Disallow: /</code>
|
|
||||||
</div>
|
|
||||||
<h3 id="branding">Branding / White Label / Custom Domains</h3>
|
<h3 id="branding">Branding / White Label / Custom Domains</h3>
|
||||||
<p>sslip.io can be used to brand your own site (you don’t need to use the sslip.io domain). For example, say you
|
<p>sslip.io can be used to brand your own site (you don’t need to use the sslip.io domain). For example, say you
|
||||||
own the domain “example.com”, and you want your subdomain, “xip.example.com” to have xip.io-style features. To
|
own the domain “example.com”, and you want your subdomain, “xip.example.com” to have xip.io-style features. To
|
||||||
accomplish this, set the following three DNS servers as NS records for the subdomain “xip.example.com”</p>
|
accomplish this, set the following three DNS servers as NS records for the subdomain “xip.example.com”</p>
|
||||||
<div class="alert alert-danger" role="alert">
|
|
||||||
<b>2024-11-16</b> <code>ns-aws.sslip.io</code> and <code>ns-azure.sslip.io</code> are deprecated. Please update
|
|
||||||
your nameservers to the nameservers below. <code>ns-aws</code> and <code>ns-azure</code>will be shut down on
|
|
||||||
<b>2024-12-25</b>.<br>
|
|
||||||
<br>
|
|
||||||
In October 2024, AWS charged me $113.88 for bandwidth for 1,265.3 GB at $0.09 / GB, and I am loath to spend
|
|
||||||
$1,366 on yearly bandwidth when other vendors, such as OVH and Hetzner, are much more reasonable.
|
|
||||||
</div>
|
|
||||||
<table class="table">
|
<table class="table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr class="header">
|
<tr class="header">
|
||||||
@@ -318,6 +293,14 @@ dig @ns-ovh.sslip.io metrics.status.sslip.io txt +short
|
|||||||
the ANSWER section, but we do return an NS record in the AUTHORITY section. (e.g. "dig @ns-ovh.sslip.io
|
the ANSWER section, but we do return an NS record in the AUTHORITY section. (e.g. "dig @ns-ovh.sslip.io
|
||||||
_acme-challenge.192.168.0.1.sslip.io. soa")</dd>
|
_acme-challenge.192.168.0.1.sslip.io. soa")</dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
<div class="alert alert-success" role="alert">
|
||||||
|
<b>Developers: disable indexing of your staging site to avoid being blocked</b> (we block by disabling
|
||||||
|
resolution of your sslip.io hostname); disable indexing by either including the <code>X-Robots-Tag:
|
||||||
|
noindex</code> in your HTTP headers or include a <code>robots.txt</code> at the root of your website with the
|
||||||
|
following contents:<code><br>
|
||||||
|
User-agent: *<br>
|
||||||
|
Disallow: /</code>
|
||||||
|
</div>
|
||||||
<h3 id="related">Related Services</h3>
|
<h3 id="related">Related Services</h3>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
@@ -365,10 +348,6 @@ Placed at the end of the document so the pages load faster -->
|
|||||||
<!-- Latest compiled and minified JavaScript -->
|
<!-- Latest compiled and minified JavaScript -->
|
||||||
|
|
||||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
|
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
|
||||||
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
|
|
||||||
|
|
||||||
<script
|
|
||||||
src="https://raw.githubusercontent.com/twbs/bootstrap/master/docs/assets/js/ie10-viewport-bug-workaround.js"></script>
|
|
||||||
<!-- Google Analytics -->
|
<!-- Google Analytics -->
|
||||||
<!-- Google tag (gtag.js) -->
|
<!-- Google tag (gtag.js) -->
|
||||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-M32C798MGY"></script>
|
<script async src="https://www.googletagmanager.com/gtag/js?id=G-M32C798MGY"></script>
|
||||||
|
Reference in New Issue
Block a user