Skip to content

Environment variable syntax #58

@PeterTrotter

Description

@PeterTrotter

Having changed the Caddyfile to use environment vars from:

something.blah.ts.net {
	handle_path /hello {
		reverse_proxy hello:8080
	}
}

to

{$TAILSCALE_HOSTNAME} {
	handle_path /hello {
		reverse_proxy hello:8080
	}
}

Caddy is happy but we get an error raised by the plugin CaddyTokenType.COMMENT or CaddyTokenType.EOL expected, got '}':

Image

Thanks for a very helpful plugin.

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