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

add backend serveraliases to debian vhosts #2124

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Commits on Sep 13, 2024

  1. add backend serveraliases to debian vhosts

    deb.tfm.o (and friends) do not point to our host these days, but to a
    CDN, thus, using deb.tfm.o as the vhost name is a tad wrong.
    
    this change introduces two aliases for the vhost: deb-backend.tfm.o and
    deb.${fqdn}, which in my test environment results in:
    
        ServerName deb.theforeman.org
        ServerAlias deb-backend.theforeman.org
        ServerAlias deb.repo-deb.tanso.example.com
    
    This has the benefit that the right vhost is reachable without any
    tricks, and will allow us to switch the CDN config to a "more correct"
    naming scheme, later dropping deb.tfm.o from the vhost here totally.
    
    (This has the side-benefit that deb.tfm LE requests go via the CDN and
    only then hit our box, which is confusing to say the least and that
    would stop)
    evgeni committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    f9d5639 View commit details
    Browse the repository at this point in the history