Skip to content

Use environment variable to determine hostname#11

Open
ThisIsTenou wants to merge 1 commit intoi-doit:mainfrom
ThisIsTenou:patch-1
Open

Use environment variable to determine hostname#11
ThisIsTenou wants to merge 1 commit intoi-doit:mainfrom
ThisIsTenou:patch-1

Conversation

@ThisIsTenou
Copy link

Since the hostname might not be noted inside the currently used /etc/hostname file (for whatever reason), the designated environment variable should be used for determining the system's hostname instead. Otherwise, the apache config will contain a wrong or even empty ServerName, causing the setup to fail.

Since the hostname might not be noted inside the currently used /etc/hostname file (for whatever reason), the designated environment variable should be used. Otherwise, the apache config will contain a wrong or even empty ServerName, causing the setup to fail.
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

Successfully merging this pull request may close these issues.

2 participants