Access deny for CSS Stylesheet

Hi,

I’m deploying my website in Amplify AWS.

At first everything worked good. But after an update the stylesheet did not want to load anymore. (And I did not touch the config.yaml…)

I have repeatedly checked the “baseURL” and it seems ok.
My webSite without style sheet: https://etienne.ninja/

I tried with another URL and I change my baseURL, and everything work like a charm!
https://release.ddenxexwmpl5l.amplifyapp.com/

Anybody have a clue?

$hugo env
Hugo Static Site Generator v0.80.0/extended linux/amd64 BuildDate: 2021-02-09T18:47:48Z (ubuntu 0.80.0-6)
GOOS="linux"
GOARCH="amd64"
GOVERSION="go1.15.8"

The code is accessible here: https: //github. com /shq1/hugo (added space to bypass the limit of 2 url)

Thanks

Looking at developer tools you are getting a 403 forbidden error. This is a policy error you should check in IAM policies on AWS. My guess is for permissions for files not in the root or based on only allow certain files.

1 Like