diff --git a/action.yml b/action.yml index d1921cd..94e9f0e 100644 --- a/action.yml +++ b/action.yml @@ -193,7 +193,7 @@ runs: echo " $(find "/srv/sites/${DOMAIN}" -type f | wc -l) files published" echo "::endgroup::" - write_fragment "$(printf '%s {\n\troot * /srv/sites/%s\n\tfile_server\n\ttry_files {path} /index.html\n}\n' "$SITE_ADDR" "$DOMAIN")" + write_fragment "$(printf '%s {\n\timport accesslog\n\troot * /srv/sites/%s\n\tfile_server\n\ttry_files {path} /index.html\n}\n' "$SITE_ADDR" "$DOMAIN")" # ---- optional install-script subdomain: curl get. | sh ---- # Opt-in via .env INSTALL_SH= (e.g. install.sh). @@ -264,7 +264,7 @@ runs: echo " container $SLUG up → port $APP_PORT" echo "::endgroup::" - write_fragment "$(printf '%s {\n\treverse_proxy %s:%s\n}\n' "$SITE_ADDR" "$SLUG" "$APP_PORT")" + write_fragment "$(printf '%s {\n\timport accesslog\n\treverse_proxy %s:%s\n}\n' "$SITE_ADDR" "$SLUG" "$APP_PORT")" ;; *) echo "::error::unknown DEPLOY=$DT (use static | docker | docker-db)"; exit 1 ;;