Age | Commit message (Collapse) | Author |
|
test: migrate to assertions using modern error checking
See merge request gitlab-org/gitlab-pages!684
|
|
|
|
|
|
|
|
refactor: clean up chrootPath from the httpfs package
Closes #598
See merge request gitlab-org/gitlab-pages!559
|
|
|
|
|
|
- Disable chroot mechanism by default.
- Adds the daemon-enable-jail flag which will allow users
to enable the legacy chroot mechanism if anything goes wrong.
This flag won't be available via Omnibus, instead users will
need to define the environment variable and pass to Pages.
- Simplify chroot logic from http_fs
- Update jail documentation
- Enable chroot when domain-config-source=disk
Changelog: changed
|
|
|
|
|
|
|
|
|
|
|
|
This is a temporary workaround for https://gitlab.com/gitlab-org/gitlab/-/issues/326117#note_546346101
where daemon-inplace-chroot=true fails to serve zip archives when pages_serve_with_zip_file_protocol is enabled
To be removed after we roll-out zip architecture completely https://gitlab.com/gitlab-org/gitlab-pages/-/issues/561
Changelog: fixed
|
|
|
|
|
|
Also make sure we resolve the absolute path for allowedPaths
|
|
|
|
Implements the http.FileSystem interface so it can be used
to RegisterProtocol with an http.Transport.
|