You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
serving the output dir with docker container nginx:latest fails due to the permissions of the output files being incorrect (results in 13: permission error)
I have kludged a solution that keeps the built files with permission 755 but I'm sure there's a better way to do this. The umask seems OK at 0022 but the built files don't have read permission for other resulting in some issues for nginx containers.
note the line chmod -R 755 $HUGO_DESTINATION below
serving the output dir with docker container
nginx:latest
fails due to the permissions of the output files being incorrect (results in 13: permission error)I have kludged a solution that keeps the built files with permission 755 but I'm sure there's a better way to do this. The
umask
seems OK at 0022 but the built files don't have read permission forother
resulting in some issues for nginx containers.note the line
chmod -R 755 $HUGO_DESTINATION
belowI sub this file in my docker-compose config (ugly but effective)
The text was updated successfully, but these errors were encountered: