Use nginx.conf as template for env vars
continuous-integration/drone/push Build is passing Details

This commit is contained in:
3wc 2021-12-19 13:28:15 +02:00
parent 70782e4098
commit 9c04bc4d89
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
FROM nginx:1.21.4
# TODO: use renovate-bot to send pull requests on upstream image updates
COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY nginx.conf /etc/nginx/templates/default.conf.template

View File

@ -30,7 +30,7 @@ server {
location ~ .php$ {
fastcgi_read_timeout 300;
fastcgi_pass php:9000;
fastcgi_pass ${STACK_NAME}_php:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /app/web/$fastcgi_script_name;