Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--urls does not accept multiple URLs despite the name/docs #1171

Closed
TooMuchBlue opened this issue Aug 26, 2022 · 1 comment
Closed

--urls does not accept multiple URLs despite the name/docs #1171

TooMuchBlue opened this issue Aug 26, 2022 · 1 comment

Comments

@TooMuchBlue
Copy link

CommandLineParser.cs suggests that the service can be configured to serve the web interface over multiple URLs, but I can't find an example of how to specify this on the command line or in the appsettings.json file.

On the command line, I tried these formats, but they did not seem to work.

--urls=http://foo.example.org:8080,https://foo.example.org:8443
--urls=http://foo.example.org:8080 --urls=https://foo.example.org:8443

It may have been related to a problem I was having trying to get https on the web interface. Still, it would be helpful if the correct format could be shown in the documentation.

@rnwood rnwood changed the title How to specify multiple --urls for the command line? --urls does not accept multiple URLs despite the name/docs Feb 25, 2024
@rnwood
Copy link
Owner

rnwood commented Feb 25, 2024

Thanks for pointing out this inconsistency. This has now been implemented so that multiple URLs will now actually be accepted when separated by ; (be careful with shell escaping/quoting as arguments including ; generally needs attention.)

@rnwood rnwood closed this as completed Feb 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants