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
- Host: GitHub
- URL: https://github.com/bird-dancer/nginx-setup
- Owner: bird-dancer
- License: mit
- Created: 2021-03-23T15:40:15.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-05-29T20:30:18.000Z (12 months ago)
- Last Synced: 2025-04-15T07:18:23.591Z (about 1 month ago)
- Topics: automation, certbot, htaccess, nginx, nginx-serverblock, reverse-proxy, setup, setup-nginx-certbot, setup-script, ssl
- Language: Shell
- Homepage:
- Size: 35.2 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
- License: LICENSE
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_srcanswer the prompts