ci: configure nginx and add env template

Found errors in your .gitlab-ci.yml:

  • jobs:configure_nginx:script config should be an array of strings or a string
You can test your .gitlab-ci.yml in CI Lint.