Code Monkey home page Code Monkey logo

auto-sslx's Introduction

AutoSSLx

A bash CLI tool to ease your nginx and SSL workflows by exposing your web service to the internet with a single command.

Compatibility

Currently working on

  • Amazon Linux 2023 (Fedora)

Usage

Requirements / Steps

  1. Have your service running locally on a port (using Docker or PM2). Do not use port 80 or 443.
  2. Configure your DNS (A record) to point to the machine's public IP address.
  3. Now run autosslx on the machine.

Args

  • <email> Your email address for the SSL certificate (required)
  • <domain> Your domain name for the SSL certificate (required)
  • <service_port> The port on which your service is running (required)

Easy execution (single command - default settings)

sudo bash -c "$(curl -sSL https://dub.sh/autosslx)" - <email> <domain> <service_port>

Just paste the command above directly into your machine's terminal, and before running, make sure you edit <email>, <domain> and <service_port>.

Customized execution

For a customized run, you can execute the following command in your machine which will get you a autosslx.sh script locally which you can edit to your needs.

curl -sSL https://dub.sh/autosslx -o autosslx.sh

Alternatively, you can fork this repo and make a script tailored for your usecases!

I have tried to document everything in the script, so it should be relatively easier to make it your own.

auto-sslx's People

Contributors

parambirje avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.