An open API service indexing awesome lists of open source software.

https://github.com/bird-dancer/nginx-setup

A script that automaticly sets up nginx serverblocks with ssl
https://github.com/bird-dancer/nginx-setup

automation certbot htaccess nginx nginx-serverblock reverse-proxy setup setup-nginx-certbot setup-script ssl

Last synced: about 1 month ago
JSON representation

A script that automaticly sets up nginx serverblocks with ssl

Awesome Lists containing this project

README

        

* setup-nginx-certbot

A script that automaticly sets up a nginx serverblock or reverse proxy with ssl and the possibility of a git repository being directly hosted on GNU/Linux

** what it does:

+ it sets up nginx as a server block or as a reverse proxy
+ for server blocks it generates a folder scructure with a test index.html file
+ if you want to, certbot generates a new new ssl certificate which the script can include in the nginx conf file
+ if wanted, the script manages access to website via .htaccess and a username password combination
+ if you want to, a git repository will be created whose content will be hosted via nginx

** dependancies

+ nginx
+ grep
+ certbot (optional - only if you want to generate a ssl certificate)

** how to use it:

check if port 80 (even if you just want to set up a https server the domain validation is done via port 80) and port 443 are open

#+begin_src bash
./setup.sh
#+end_src

answer the prompts