Browse Source

Fix upstream hostname

master
Joshua Rubingh 10 months ago
parent
commit
4e388ab7a3
  1. 2
      docker/Dockerfile.nginx

2
docker/Dockerfile.nginx

@ -13,4 +13,4 @@ COPY ./nginx/tus.vhost.conf /etc/nginx/templates/default.conf.template @@ -13,4 +13,4 @@ COPY ./nginx/tus.vhost.conf /etc/nginx/templates/default.conf.template
# TODO: Make the resolver IP and instance hostname more variable!!
RUN sed -i "s@resolver.*;@resolver 10.43.0.10 valid=30s;@g" /etc/nginx/templates/default.conf.template
RUN sed -i 's@localhost@upload-server@g' /etc/nginx/templates/default.conf.template
RUN sed -i 's@localhost@upload-server.vre.svc.cluster.local@g' /etc/nginx/templates/default.conf.template

Loading…
Cancel
Save