Skip to content

Commit 04da08f

Browse files
committed
Minor improvements
1 parent 0f781cb commit 04da08f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ all: docker-build docker-test
1313
docker-build:
1414
# https://github.com/docker/buildx#building
1515
docker buildx build \
16-
--build-arg VCS_REF=`git rev-parse HEAD` \
17-
--build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \
16+
--build-arg VCS_REF="$(shell git rev-parse HEAD)" \
17+
--build-arg BUILD_DATE="$(shell date -u +"%Y-%m-%dT%H:%M:%SZ")" \
1818
--tag $(IMAGE_TAG) \
1919
--progress $(PROGRESS_MODE) \
2020
--platform $(PLATFORM) \

docker/nginx-default.conf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ server {
2323
fastcgi_pass unix:/run/phpfpm/php-fpm.sock;
2424
}
2525

26-
location /robots.txt {
27-
return 200 "User-agent: *\nDisallow: /";
28-
}
26+
location /robots.txt {
27+
return 200 "User-agent: *\nDisallow: /";
28+
}
2929

3030
location ~ ^/(css|js|images)/ {
3131
access_log off;

0 commit comments

Comments
 (0)