From 5cbbd038eeac9426ec3446d5270553e8c90b2f56 Mon Sep 17 00:00:00 2001 From: "root@gap.a1z.us" Date: Sat, 11 Jul 2020 22:18:00 +0000 Subject: [PATCH] 010 Corrected certs and app home page --- README.md | 23 ++++++++++++- perlmojo/perlmojo.conf | 2 +- perlmojo/templates/layouts/default.html.ep | 38 ++++++++++++---------- 3 files changed, 43 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 01e1132..578f157 100644 --- a/README.md +++ b/README.md @@ -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 \ No newline at end of file +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 ) + diff --git a/perlmojo/perlmojo.conf b/perlmojo/perlmojo.conf index 20263d6..a3c1f69 100644 --- a/perlmojo/perlmojo.conf +++ b/perlmojo/perlmojo.conf @@ -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"] } } diff --git a/perlmojo/templates/layouts/default.html.ep b/perlmojo/templates/layouts/default.html.ep index d81153c..2498984 100644 --- a/perlmojo/templates/layouts/default.html.ep +++ b/perlmojo/templates/layouts/default.html.ep @@ -1,50 +1,52 @@ % my $host; $host = `hostname -f`; -%# http:7305, https:7307 + -c8mint - c8mint.gap.a1z.us +A1Z Hosting - A1Z.us - c7.gap.a1z.us - - + + - - - + + + + + -

C8mint Gap.A1Z.us/c8gap

+

A1Z Hosting www.A1Z.us

@@ -62,12 +64,12 @@
Own Domain

With your own domain name, for example, YourName.com.

-

Get free hosting for your own domain here

+

Get free hosting for your own domain here

Sub Domain

As a sub domain of one of our approved sites, for example, YourName.A1Z.us.

-

Get free hosting for your blog, charity, or business here with a subdomian +

Get free hosting for your blog, charity, or business here with a subdomian on one of our approved sites

@@ -81,7 +83,7 @@

No Ads, SSH/SFTP Access

Email accessible online and any of your choice emails clients

One Script of your choice installed/setup on demand

-

Get free hosting for your blog, charity, or business here with your own domain or a subdomian +

Get free hosting for your blog, charity, or business here with your own domain or a subdomian on/of one of our approved sites

@@ -176,7 +178,7 @@