6e6b7c3c1698d0565f0271bf4abc08a5bc39891b
NGINX Configs
These are my NGINX configurations. They are written for Fedora CoreOS's nginx-core build with nginx-mod-stream.
Getting Started
- Install
nginx-core,nginx-mod-stream, andpolicycoreutils-python-utilson Fedora. Makesurersyncis available on the OS. - Comment out the default server block in
/etc/nginx/nginx.conf. - Run
setup.sh - Generate a certificate with your hostname with the
certbot/default-quicexample. Copyetc/nginx/conf.d/sites_default_quic.confto the corresponding directory on your server and edit it approprieately. - Generate certificates with the example in the certbot directory.
- Make your actual vhost config based on the
sites_.*samples in/etc/nginx/conf.d.
Notes
This is used on my tunnel servers with multiple IP addresses. Hence, you may see addresses like ipv4_1 and ipv4_2. Just replace them with your own ip addresses.
Description
Languages
Shell
100%