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

Include port in environment configuration folder name

Started by ND 9 years ago · 2 replies · 923 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, 2 months ago
8 778 2 months ago
Installation & Hosting · by Jürgen Dietrich, 9 months ago
0 480 9 months ago
Installation & Hosting · by rappluk, 10 months ago
0 532 10 months ago
Installation & Hosting · by N, 1 year ago
3 444 1 year ago
Installation & Hosting · by Youle, 1 year ago
1 371 1 year ago