Commit c3188f0
authored
Clean up stale project assets and tighten Docker/nginx config (#231)
### Summary
This branch removes stale project files and unused assets, updates
outdated docs/config examples, and tightens Docker/nginx behavior around
health checks, CSP, and startup ordering.
### What changed
**Cleanup**
- Remove unused iOS legacy imagesets.
- Remove unused web public icons.
- Remove unused web localizations.
- Drop stale personal IDE config files and rename the module from
`pastedrop` to `pastepoint`.
- Remove dead server file-transfer error variants.
- Fix stale ignore entries for the web Karma config filename.
**Docker & health checks**
- Pin the cert-checker image to `alpine:3.21`.
- Make the server healthcheck use HTTPS against `/health`.
- Make the web container healthcheck target `/health`.
- Gate SSR startup on the backend becoming healthy instead of merely
started.
**Nginx**
- Serve `/health` from the default port-80 server so Docker healthchecks
resolve correctly.
- Remove dead redirect config.
- Tighten CSP `connect-src` by removing the plain `ws://` allowance.
- Clean up the access-log field name for request timing.
**Scripts & CI**
- Resolve the cert output directory relative to the repo root so
`generate-certs.sh` works from any current directory.
- Pass Angular’s production configuration through npm correctly in the
web CI build.
**Docs / env examples**
- Update stale web README sections for locales, environment files, and
Angular build tooling.
- Fix the server README run-configuration example.
- Remove the unused `BUILD_MODE` env example entries.57 files changed
Lines changed: 32 additions & 453 deletions
File tree
- .github/workflows
- .idea
- jsLinters
- client
- ios/PastePoint/Resources/Assets.xcassets/icons
- file.imageset
- green.tick.imageset
- group.imageset
- information.circle.imageset
- lock.blue.imageset
- pastepoint.imageset
- privacy.and.terms.imageset
- upload.imageset
- upload.loading.imageset
- web
- public/icons
- src/app/core/i18n/localizations
- nginx
- security
- scripts
- server
- src
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments