Skip to content

Using Virtualmin template variables #10

@stu177

Description

@stu177

I'm trying to use the Virtualmin template variables from here in the section labelled "Adding Nginx config directives".

It doesn't seem to parse them and causes the nginx site config to be broken on a new site creation.

The code I'm trying is:

location ^~ /.well-known/acme-challenge/ {
    root /home/${USER}/public_html/;
}

Is it possible to use the Virtualmin template variables here or is there any other way of using them in the nginx site config that is generated?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions