Render a Config Template Safely
/srv/lab/templates/nginx.conf.tpl is a template with placeholders ${SERVER_NAME}, ${UPSTREAM_PORT} and ${LOG_LEVEL}. Their values are in /srv/lab/templates/prod.env.
Write the rendered file to /home/student/nginx.conf:
${SERVER_NAME}, ${UPSTREAM_PORT} and ${LOG_LEVEL} is replaced by its value from prod.env$host, $1 and $request_uriAbout this machine
Ubuntu 24.04 with no internet access. You are student with passwordless sudo. The grader checks the final state of the machine, not the commands you typed. Values like names and ports are generated for you.
Your machine is ready to start
Create a free account to open a machine and get graded.