Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Include port in environment configuration folder name

Started by ND 9 years ago · 2 replies · 1139 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 DrPen, 6 days ago
4 116 4 days ago
Installation & Hosting · by vollstock, 3 weeks ago
3 220 3 weeks ago
Installation & Hosting · by David, 7 years ago
3 3507 1 month ago
Installation & Hosting · by David Meissner, 1 month ago
3 344 1 month ago
Installation & Hosting · by David Meissner, 1 month ago
0 268 1 month ago