Skip to content
/ mjolnir Public

Apache2 Virtual Host/Website creation tool. Also does your SSL certificates.

Notifications You must be signed in to change notification settings

Cazgem/mjolnir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Mjolnir 1.0.3

sudo bash mjolnir example.com -FC

or

sudo mjolnir example.com -FC

//Optional Dependencies

certbot

This library is meant to act as a back-end tool to generate the necessary files and configurations for creations of new virtual hosts (web domains).

BEFORE YOU BEGIN

If you wish to use secure ssl (https), make sure to install certbot as this script has the ability to incorporate certbot to automate this process as much as possible.

Implementation

sudo mjolnir <domainname> [Options]

USE

Full Suite w/ Certbot

Virtual Host Config, Enabling website, creation of public and dev subdirectories, index.php and htaccess creation, SSL Certificates for secure https via Certbot.

sudo bash mjolnir example.com -FC

Full Suite w/ NO Certbot

Virtual Host Config, Enabling website, creation of public and dev subdirectories, index.php and htaccess creation.

sudo bash mjolnir example.com -F

Remove Website

Remove a website's folders and config files, disable site and restart apache.

sudo bash mjolnir example.com -R

Run Certbot

Virtual Host Config, Enabling website, creation of public and dev subdirectories, index.php and htaccess creation.

sudo bash mjolnir example.com -SSL

or

sudo bash mjolnir example.com -C

Set Virtual Host

Overwrites the Virtual Host file for the website given with the newest, updated version defined in the script.

sudo bash mjolnir example.com -V

Developed by Cazgem (https://cazgem.com) for internal use as part of Divisi Labs and Polyphony (https://divisilabs.com/getpolyphony).

About

Apache2 Virtual Host/Website creation tool. Also does your SSL certificates.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages