server {
    listen {{ CS_FRONTEND_HTTP_PORT | last }} default_server;
    listen [::]:{{ CS_FRONTEND_HTTP_PORT | last }} default_server;
    server_name _;
    return 301 https://$host:{{ CS_FRONTEND_HTTPS_PORT | last }}$request_uri;
}
