diff --git a/master/main.py b/master/main.py index d4b2775..2acd5d8 100644 --- a/master/main.py +++ b/master/main.py @@ -429,17 +429,7 @@ def workerIP(worker): # Home page @app.route('/') def home(): - # Show stats and info - - # Get worker info - workers = [] - try: - workers_file = open('/data/workers.txt', 'r') - workers = workers_file.readlines() - workers_file.close() - except FileNotFoundError: - pass - + # Show index template # Get site info sites = [] try: @@ -449,25 +439,8 @@ def home(): except FileNotFoundError: pass - # Get licence info - licences = [] - try: - licences_file = open('/data/licence_key.txt', 'r') - licences = licences_file.readlines() - licences_file.close() - except FileNotFoundError: - pass - - # Create html page - workerhtml = "" - for worker in workers: - workerhtml += "
Intro blurb
-Total sites: {{site_count}}
-Wordpress allows you to have an easily customizable website on your Handshake domain.
+Currently hosting {{site_count}} sites!
+Our Services
+Anyone with a resolver supporting DANE will be redirected to the HTTPS version on your site and will have an encrypted connection using DANE for verification.
Learn more +The worker servers are fully secured so that the only access is HTTP for web traffic.
Any terminal access for maintenance is over a VPN tunnel to stop any unauthorized access. All SSH connections send a push notification to the admin's phone to alert him to any access.
The worker server has regular encrypted backups to an offsite location to allow recovery of any data if the server goes down.
+Fully Managed
+Free
+Contacts
+Register site
+