Leverage base image nginx service instead of creating a new one
This commit is contained in:
@@ -82,7 +82,7 @@ changelogs:
|
||||
|
||||
### LinuxServer.io Conventions
|
||||
- **PUID/PGID:** Support for user mapping is handled by the base image; ensure any new files in `root/` are compatible with the `abc` user.
|
||||
- **S6 Overlay:** Use S6 service files for process management if adding new background services. Ensure `run` scripts are executable (`chmod +x`). In this project, an `nginx` service is used to serve local content.
|
||||
- **S6 Overlay:** Use S6 service files for process management if adding new background services. Ensure `run` scripts are executable (`chmod +x`). In this project, the base image's `nginx` service is leveraged to serve local content via `root/etc/nginx/conf.d/fusion.conf`.
|
||||
|
||||
## 6. Error Handling and Logging
|
||||
- **Redirection:** In Shell scripts, redirect stderr to stdout or `/dev/null` as appropriate: `"$@" > /dev/null 2>&1`.
|
||||
|
||||
Reference in New Issue
Block a user