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

commands: Server ignores baseurl in config #1821

Closed
moorereason opened this issue Feb 5, 2016 · 1 comment
Closed

commands: Server ignores baseurl in config #1821

moorereason opened this issue Feb 5, 2016 · 1 comment
Assignees

Comments

@moorereason
Copy link
Contributor

When running hugo server with the following config snippet:

baseurl = "http://10.1.2.3:1313/"

Hugo ignores the baseurl in the config:

$ hugo server --bind 10.1.2.3
...
Web Server is available at http://localhost:1313/ (bind address 10.1.2.3)

Hugo should instead run as:

$ hugo server --bind 10.1.2.3
...
Web Server is available at http://10.1.2.3:1313/ (bind address 10.1.2.3)

This manifests itself in the generation of .Permalink values for nodes and pages.

@github-actions
Copy link

github-actions bot commented Apr 9, 2022

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant