setup-nginx-proxy/README.md

35 lines
1.1 KiB
Markdown
Raw Normal View History

2022-07-13 04:45:23 +00:00
# setup-nginx-proxy
2022-07-14 08:08:44 +00:00
A bash script and accompanying configuration files for setting up a Nginx reverse proxy on Debian / Ubuntu based systems.
The configuration files accompanying the setup script are modified to my own preferred defaults - such as but not limited to:
- Number of Nginx Workers 1024
- Set the max body size 8GB
- Optional config to limit responses to only Cloudflare IPs
2022-07-14 17:18:57 +00:00
I've included an example config in the /etc/nginx/sites-available directory specific for reverse proxies.
2022-07-14 08:08:44 +00:00
Additionally, I've included a few bash scripts that get placed under ~/bin/ that make life a little easier:
- update.sh (runs system updates)
- certbot.sh (get new certifiate from certbot)
Whether you use them or not is up to you.
## Usage
```
git clone https://gitea.techaddressed.com/robert/setup-nginx-proxy.git
cd setup-nginx-proxy
./setup-nginx-proxt.sh
```
## Contributions
Pull requests are always welcome, however, if you'd like to suggest changes please contact me via Twitter ([@techaddressed](https://twitter.com/TechAddressed)) to discuss your proposed changes.
## License
2022-07-14 17:18:57 +00:00
[MIT](https://choosealicense.com/licenses/mit/)