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?
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?