Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Include port in environment configuration folder name

Started by ND 9 years ago · 2 replies · 1015 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 motorambler, 1 month ago
9 678 3 weeks ago
Installation & Hosting · by jeremycherfas, 1 month ago
1 335 1 month ago
Installation & Hosting · by antoinep, 4 months ago
8 1161 4 months ago
Installation & Hosting · by Jürgen Dietrich, 10 months ago
0 802 10 months ago
Installation & Hosting · by rappluk, 12 months ago
0 834 12 months ago