Skip to content
This repository was archived by the owner on Aug 7, 2025. It is now read-only.
This repository was archived by the owner on Aug 7, 2025. It is now read-only.

warning if TS_ALLOWED_URLS is using default values in config.properites #2531

@lxning

Description

@lxning

🚀 The feature

Provide the warning such as the following if TS_ALLOWED_URLS is as same as the default value.
"
log.warning("Your torchserve instance is accessible from any url. When you deploy it to production make sure to limit the set of allowed_urls in your config.properties")
"

Motivation, pitch

Considering prod safety, it is better to notify cx to config "TS_ALLOWED_URLS"

Alternatives

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions