Fix syntax error in nginx config

This prevented the startup of the nginx server and thus the container.

Fixes https://github.com/PrivateBin/docker-nginx-fpm-alpine/issues/75
This commit is contained in:
rugk 2021-10-09 17:24:10 +02:00 committed by GitHub
parent 90d1fc1ba6
commit df4436b798
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,7 +22,7 @@ server {
# no-transform tells Cloudflare and others to not change the content of
# the file and thus breaking SRI.
# https://developers.cloudflare.com/cache/about/cache-control#other
add header Cache-Control "public, max-age=3600, must-revalidate, no-transform";
add_header Cache-Control "public, max-age=3600, must-revalidate, no-transform";
try_files $uri $uri/ =404;
}