Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Installation & Hosting

Include port in environment configuration folder name

Started by ND 9 years ago · 2 replies · 744 views
9 years ago

Hi Grav Community,

I read about environment configuration here:
https://learn.getgrav.org/advanced/environment-config

I try to create a specific configuration for a server running on a specific port on localhost, so I created a specific configuration in user/localhost/config/system.yaml

When I now access my site with https://localhost it reads the configuration. But when I access it with https://localhost:3000 it loads the default config.

How can I include the port to my environment folder name? ":" is not allowed in folder names.

Thank you!

Suggested topics

Topic Participants Replies Views Activity
Installation & Hosting · by antoinep, 13 hours ago
5 60 7 hours ago
Installation & Hosting · by Jürgen Dietrich, 7 months ago
0 62 7 months ago
Installation & Hosting · by rappluk, 8 months ago
0 62 8 months ago
Installation & Hosting · by N, 12 months ago
3 72 12 months ago
Installation & Hosting · by Youle, 1 year ago
1 61 1 year ago