When a certificate is issued for a tenant, the generated file
/etc/nginx/ploi/www.site.com/tenants/www.domain.com-ssl-redirect.conf only contains a redirect for the tenant's domain from http to https, but not for all domains for which the certificate was issued. This leads to 404 errors if an attempt is made to access a domain via http that is not the name of the tenant.
- Create a tenant for www.domain.com
- Customize the tenant's server name so that it listens to www.domain.com and domain.com
- Issue a certificate for www.domain.com,domain.com.
- Go to http://domain.com and you will get a 404 error.
Instead of using the tenant's domain for the redirect from http to https, all domains of the certificate should be used in
server_name for the redirect config.
Dennis moved item to board Planned2 months ago
Maurice moved item to project Site Level Requests2 months ago
Maurice created the item2 months ago