danlito
4 years ago
758
9
General

How do you protect .env file from public?

Posted 4 years ago by danlito

Hello guys, I am trying to understand how to use this cool feature of. The only thing that i don't get it is how to make this file protected from public.

If i go to mydomain.com/.env i can see all the variables. Is there anyway to hide it?

Thanks

Please sign in or create an account to participate in this conversation.