Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

What is the path for the environmental variables file in Nginx?

$
0
0
In Apache I store my secret keys for environmental variables in ~/.profile:
export HMAC_SECRET=123

Running the command `printenv | less` in Ubuntu terminal, is giving me the content of the key.

I tried the same in Nginx but I cannot view the key.

How to setup env in Nginx?

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>