Skip to content

Commit

Permalink
010 Corrected certs and app home page
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Jul 11, 2020
1 parent ebb7849 commit 5cbbd03
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 20 deletions.
23 changes: 22 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,25 @@ Server available at https://127.0.0.1:7312

Could not access https://gap.a1z.us:7312/ probably due to certs not there ...

Added certs
Added certs

4:47

Successfully built 76906f544a3a
Successfully tagged a2zdotblue/c7-systemd-perl-mojo-02:latest
Stopping container a2zdocker
a2zdocker
Deleting container a2zdocker
a2zdocker
85e80f2a138a18dfa6ee144dca597d885fea2ae588fa82a9cb68520317fbaeb3
logging in to a2zdocker
Attempting to create directory /root/perl5
[root@c7 app]# ./start_apps.sh
[Sat Jul 11 21:45:42 2020] [info] Listening at "http://*:80"
Server available at http://127.0.0.1:80
[Sat Jul 11 21:45:42 2020] [info] Listening at "https://*:443?cert=%2Fapp%2Fcerts%2Fcert1.pem&key=%2Fapp%2Fcerts%2Fprivkey1.pem"
Server available at https://127.0.0.1:443
[root@c7 app]#

https://gap.a1z.us:7312/ OK but wrong certs ( expired )

2 changes: 1 addition & 1 deletion perlmojo/perlmojo.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
perldoc => 0,
secrets => ['88ac5d69fa27bfa4705d86871090c399bc71b943', 'a2zdocker88ac5d69c7.gap.a1z.us'],
hypnotoad => {
listen => ["http://*:80", "https://*:443?cert=/app/certs/cert1.pem&key=/app/certs/privkey1.pem"]
listen => ["http://*:80", "https://*:443?cert=/app/certs/cert2.pem&key=/app/certs/privkey2.pem"]
}
}

38 changes: 20 additions & 18 deletions perlmojo/templates/layouts/default.html.ep
Original file line number Diff line number Diff line change
@@ -1,50 +1,52 @@
% my $host; $host = `hostname -f`;
%# http:7305, https:7307

<!doctype html>
<html lang="en">
<head>
<title>c8mint - c8mint.gap.a1z.us</title>
<title>A1Z Hosting - A1Z.us - c7.gap.a1z.us</title>
<meta charset="utf-8">
<meta name="description" content="c8mint - gap.a1z.us">
<meta name="keywords" content="Free, software, a1z.us">
<meta name="description" content="Centos 7 docker container with systemd, MySQL 5, Perl, Mojolicious appc7.gap.a1z.us">
<meta name="keywords" content="Free, software, docker image, centos 7, perl, MySQL 5, Perl, Mojolicious, a1z.us">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="theme-color" content="#B12A34">
<meta name="Robots" content="INDEX,FOLLOW">
<meta name="Rating" content="General">
<link rel="icon" href="/favicon.ico">
<link rel="apple-touch-icon" href="/favicon.ico">
<link rel="manifest" href="/manifest.json">
<link rel="icon" href="<%= url_for 'favicon.ico %>">
<link rel="apple-touch-icon" href="<%= url_for 'favicon.ico %>">
<link rel="manifest" href="<%= url_for 'manifest.json %>">
<link rel="stylesheet" href="<%= url_for 'default.css' %>">
<link rel="prefetch" href="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js">

<!--link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous"-->

</head>
<body>
<h1><span class="red">C8mint</span> <small>Gap.A1Z.us/c8gap</small></h1>
<h1><span class="red">A1Z Hosting</span> <small>www.A1Z.us</small></h1>
<nav>
<h2 class="inv">Navigation</h2>

<ul class="nav nav-pills nav-fill">
<li class="nav-item"><a class="nav-link active" href="/" title="A1Z Hosting - Hat.a1z.us">Home</a></li>
<li class="nav-item"><a class="nav-link active" href="/" title="A1Z Hosting - www.a1z.us">Home</a></li>
<li class="nav-item"><a href="#" class="nav-itme" title="hostname"><%= $host %></a></li>
<li class="nav-item dropdown">
<a title="Perl Mojo app on port 7305" class="nav-link dropdown-toggle" data-toggle="dropdown" href="javascript:void(0)" role="button" aria-haspopup="true" aria-expanded="false">
Menu
More
</a>
<div class="dropdown-menu dropdown-content">
<a class="dropdown-item" href="https://perlmojo.get.a1z.us:7702" title="Perl Mojo Home">Home</a>
<a class="dropdown-item" href="https://www.a1z.us" title="A1Z Hosting - Home">Home</a>
<a class="dropdown-item" href="/shop">Shop</a>
<a class="dropdown-item" href="/blog/">Blog</a>
<a class="dropdown-item" href="/support">Support</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item disabled" href="/support">-</a>
<a class="dropdown-item" href="/support/" title="Support Home">Support</a>
<a class="dropdown-item" href="/support/contact" title="Contact">Contact</a>
<a class="dropdown-item" href="/support/" title="Support">Support</a>
<a class="dropdown-item" href="/contact" title="Contact">Contact</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item disabled" href="#">-</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="#">#</a>
</div>
</li>
<li class="nav-item"><a href="#" class="nav-itme" title="hostname"><%= $host %></a></li>
</ul>
</nav>

Expand All @@ -62,12 +64,12 @@

<article class="owndomain first"><h5>Own Domain</h5>
<p> With your own domain name, for example, YourName.com. </p>
<p> Get free hosting for your own domain <a href="https://gap.a1z.us/shop/product/a1z-hosting-free/">here</a> </p>
<p> Get free hosting for your own domain <a href="https://www.a1z.us/blog/shop/product/a1z-hosting-free/">here</a> </p>
</article>

<article class="subdomain"><h5>Sub Domain</h5>
<p> As a sub domain of one of our approved sites, for example, YourName.A1Z.us. </p>
<p> Get free hosting for your blog, charity, or business <a href="https://gap.a1z.us/shop/product/a1z-hosting-free/">here</a> with a subdomian
<p> Get free hosting for your blog, charity, or business <a href="https://www.a1z.us/blog/shop/product/a1z-hosting-free/">here</a> with a subdomian
on one of our <a href="approved-sites-for-subdomains.html" title="Approved sites for sub domains">approved sites</a> </p>

</article>
Expand All @@ -81,7 +83,7 @@
<p> No Ads, SSH/SFTP Access </p>
<p> Email accessible online and any of your choice emails clients </p>
<p> One Script of your choice installed/setup on demand</p>
<p> Get free hosting for your blog, charity, or business <a href="https://gap.a1z.us/shop/product/a1z-hosting-netizen-01/">here</a> with your own domain or a subdomian
<p> Get free hosting for your blog, charity, or business <a href="https://www.a1z.us/blog/shop/product/a1z-hosting-netizen-01/">here</a> with your own domain or a subdomian
on/of one of our <a href="approved-sites-for-subdomains.html" title="Approved sites for sub domains">approved sites</a> </p>
</article>

Expand Down Expand Up @@ -176,7 +178,7 @@
</main>

<footer class="container-fluid">
&copy; <a href="" title="All rights reserved by &quot;A1Z Hosting&quot; - edge.a1z.us">A1Z.us</a>
&copy; <a href="https://www.a1z.us" title="All rights reserved by &quot; A1Z Hosting&quot; - www.a1z.us">A1Z.us</a>
</footer>

<script defer src="https://code.jquery.com/jquery-3.4.1.min.js" crossorigin="anonymous"></script>
Expand Down

0 comments on commit 5cbbd03

Please sign in to comment.