외부 env는 안댐
변수 - NGINX
아래와 같은 URL로 접근 했을 때 환경변수는 아래와 같다. http://opentutorials.org:80/production/module/index.php?type=module&id=12 $host : opentutorials.org $uri : /production/module/index.php $args : type=module&id=12 server_addr : 115.68.24.88 server_name : localhost server_port : 80 server_protocol : HTTP/1.1 $arg_type : module $request_uri : /production/module/index.php?type=module&id=12 $request_filename : /usr/local/nginx/html/production/module/index.php PARAMETER는 파라미터 변수의 이름을 의미한다.
https://opentutorials.org/module/384/4508
How can I use environment variables in Nginx.conf
I have a docker container running Nginx, that links to another docker container. The host name and IP address of the second container is loaded into the Nginx container as environment variables on startup, but is not know before then (it's dynamic). I want my nginx.conf to use these values - e.g.
https://serverfault.com/questions/577370/how-can-i-use-environment-variables-in-nginx-conf

Seonglae Cho