Skip to content

Commit

Permalink
Merge pull request #7 from ekousp/patch-1
Browse files Browse the repository at this point in the history
fix script error
  • Loading branch information
cusspvz committed Nov 25, 2019
2 parents 5600441 + 36a84a7 commit f146b13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nginx-boot.sh
Expand Up @@ -24,7 +24,7 @@ http {
listen $HTTP_PORT;
server_tokens off;
$([ "${HSTS}" != "0" ] && echo "
add_header Strict-Transport-Security \"max-age=${HSTS_MAX_AGE};$([ "${HSTS_INCLUDE_SUBDOMAINS}" != "0"] && echo "includeSubDomains")\";
add_header Strict-Transport-Security \"max-age=${HSTS_MAX_AGE};$([ "${HSTS_INCLUDE_SUBDOMAINS}" != "0" ] && echo "includeSubDomains")\";
")
rewrite ^(.*) $REDIRECT\$1 $REDIRECT_TYPE;
}
Expand Down

0 comments on commit f146b13

Please sign in to comment.