diff --git a/docker/images/files/nginx.conf b/docker/images/files/nginx.conf index 9432440ed9..1f034c2a33 100644 --- a/docker/images/files/nginx.conf +++ b/docker/images/files/nginx.conf @@ -107,7 +107,7 @@ http { } location /assets { - proxy_pass http://127.0.0.1:6060/assets; + proxy_pass http://penpot-backend:6060/assets; recursive_error_pages on; proxy_intercept_errors on; error_page 301 302 307 = @handle_redirect; @@ -115,7 +115,7 @@ http { location /internal/assets { internal; - alias /var/www/assets; + alias /opt/data/assets; add_header x-internal-redirect "$upstream_http_x_accel_redirect"; } } diff --git a/manage.sh b/manage.sh index ef7b9d2e6d..9b80679491 100755 --- a/manage.sh +++ b/manage.sh @@ -137,8 +137,7 @@ function build-image { set -x pushd ./docker/images; docker buildx build --platform linux/amd64 -t $docker_image:$tag -f Dockerfile.$image .; - docker tag $docker_image:$tag $docker_image:$version; - + # docker tag $docker_image:$tag $docker_image:$version; # docker buildx build --platform linux/arm64 -t $docker_image:$version-arm64 .; popd; }