hugo/docs/content/en
Dietrich Epp d5542ed286 deploy: Add stripIndexHtml target option
This new configuration parameter causes paths matching
"<dir>/index.html" to be stored as "<dir>/" remotely. This simplifies
the cloud configuration needed for some use cases, such as CloudFront
distributions with S3 bucket origins. Before this change, users must
configure their S3 buckets as public websites (which is incompatible
with certain authentication / authorization schemes), or users must add
a CloudFormation function to add index.html to the end of incoming
requests. After this change, users can simply use an ordinary CloudFront
distribution (no additional code) with an ordinary S3 bucket origin (and
not an S3 website).

This adds tests to ensure that functionality like matchers is unaffected
by this change. I have also tested that the functionality works as
expected when deploying to a real S3 / CloudFront website.

Closes #12607
2024-06-20 19:37:22 +02:00
..
about Merge commit '9b0050e9aabe4be65c78ccf292a348f309d50ccd' as 'docs' 2024-01-27 10:48:57 +01:00
commands commands: Add gen chromastyles --lineNumbersTableStyle flag 2024-04-20 12:25:28 +02:00
content-management Merge commit '2658a71e1b6fe24a8b754a62ce0398a09d270d86' 2024-02-19 18:59:28 +01:00
contribute Merge commit '6efb279bfacbd7304cef994be8181c6f804e7dd4' 2024-02-07 20:46:41 +01:00
functions js: Support JSX and JSXImportSourceOptions 2024-02-23 10:25:27 +01:00
getting-started Merge commit '6efb279bfacbd7304cef994be8181c6f804e7dd4' 2024-02-07 20:46:41 +01:00
hosting-and-deployment deploy: Add stripIndexHtml target option 2024-06-20 19:37:22 +02:00
hugo-modules Merge commit '9b0050e9aabe4be65c78ccf292a348f309d50ccd' as 'docs' 2024-01-27 10:48:57 +01:00
hugo-pipes js: Support JSX and JSXImportSourceOptions 2024-02-23 10:25:27 +01:00
installation Merge commit '9b0050e9aabe4be65c78ccf292a348f309d50ccd' as 'docs' 2024-01-27 10:48:57 +01:00
maintenance Merge commit '9b0050e9aabe4be65c78ccf292a348f309d50ccd' as 'docs' 2024-01-27 10:48:57 +01:00
methods Merge commit '6efb279bfacbd7304cef994be8181c6f804e7dd4' 2024-02-07 20:46:41 +01:00
myshowcase Merge commit '9b0050e9aabe4be65c78ccf292a348f309d50ccd' as 'docs' 2024-01-27 10:48:57 +01:00
news Merge commit '9b0050e9aabe4be65c78ccf292a348f309d50ccd' as 'docs' 2024-01-27 10:48:57 +01:00
quick-reference Merge commit '9b0050e9aabe4be65c78ccf292a348f309d50ccd' as 'docs' 2024-01-27 10:48:57 +01:00
showcase Merge commit '9b0050e9aabe4be65c78ccf292a348f309d50ccd' as 'docs' 2024-01-27 10:48:57 +01:00
templates Merge commit '2658a71e1b6fe24a8b754a62ce0398a09d270d86' 2024-02-19 18:59:28 +01:00
tools Merge commit '9b0050e9aabe4be65c78ccf292a348f309d50ccd' as 'docs' 2024-01-27 10:48:57 +01:00
troubleshooting Merge commit '9b0050e9aabe4be65c78ccf292a348f309d50ccd' as 'docs' 2024-01-27 10:48:57 +01:00
variables Merge commit '9b0050e9aabe4be65c78ccf292a348f309d50ccd' as 'docs' 2024-01-27 10:48:57 +01:00
_index.md Merge commit '9b0050e9aabe4be65c78ccf292a348f309d50ccd' as 'docs' 2024-01-27 10:48:57 +01:00
documentation.md Merge commit '9b0050e9aabe4be65c78ccf292a348f309d50ccd' as 'docs' 2024-01-27 10:48:57 +01:00
featured.png Merge commit '9b0050e9aabe4be65c78ccf292a348f309d50ccd' as 'docs' 2024-01-27 10:48:57 +01:00