```ruby
# Plugin to add environment variables to the `site` object in Liquid templates

module Jekyll

  class EnvironmentVariablesGenerator < Generator

    def generate(site)
      site.config['domain'] = ENV['DOMAIN'] || 'badssl.com'
      site.config['serving-path'] = ENV['SERVING_PATH'] || '/var/www/badssl/_site'

      site.config['cert-path'] = site.config['serving-path'] + '/certs/sets/current/gen/chain'
      site.config['dhparam-path'] = site.config['serving-path'] + '/certs/sets/current/gen/dhparam'
    end

  end

end
```

Add 'http-domain' back to the Jekyll config.
user
```ruby
# Plugin to add environment variables to the `site` object in Liquid templates

module Jekyll

  class EnvironmentVariablesGenerator < Generator

    def generate(site)
      site.config['domain'] = ENV['DOMAIN'] || 'badssl.com'
      site.config['http-domain'] = ENV['HTTP_DOMAIN'] || 'http.badssl.com'
      site.config['serving-path'] = ENV['SERVING_PATH'] || '/var/www/badssl/_site'

      site.config['cert-path'] = site.config['serving-path'] + '/certs/sets/current/gen/chain'
      site.config['dhparam-path'] = site.config['serving-path'] + '/certs/sets/current/gen/dhparam'
    end

  end

end
```
assistant