Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Include port in environment configuration folder name

Started by ND 9 years ago · 2 replies · 966 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 jeremycherfas, 1 week ago
1 110 7 days ago
Installation & Hosting · by motorambler, 3 weeks ago
8 392 2 weeks ago
Installation & Hosting · by antoinep, 3 months ago
8 963 3 months ago
Installation & Hosting · by Jürgen Dietrich, 10 months ago
0 622 10 months ago
Installation & Hosting · by rappluk, 11 months ago
0 667 11 months ago