Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

branch: nginx_custom #6

Open
frank-dspeed opened this issue Apr 10, 2024 · 0 comments
Open

branch: nginx_custom #6

frank-dspeed opened this issue Apr 10, 2024 · 0 comments

Comments

@frank-dspeed
Copy link
Member

Changelog:
tools/split_nginx_conf.sh

  • gets runned to create indipendent conf files in /etc/nginx/sites-available

  • conf/nginx gets synced to /etc/nginx

  • removed some template generating

  • now creating /etc/nginx/sites-enabled/default as http default server removed http server from host generation.

  • add support for snippets/$host*.conf and http-$host*.conf the tools/split_nginx_conf.sh excludes domains conf

    • always generating miab-ssl.conf.d/$host.conf even for excluded to allow including them as snippet

Add a custom host

most best copy a existing site-available/$host.conf to conf.d and adjust the settings.

  • create dns entry or email alias.
  • create /etc/nginx/conf.d/$host.conf
  • include miab-ssl.conf.d/$host.conf
  • include snippets/miab-domains.conf
  • include snippets/miab-primaryonly.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant