15 Commits

Author SHA1 Message Date
d5efecb3d5 Fix dev.nginx.conf 2025-06-20 15:18:57 -07:00
070bac262f Use a simpler nginx.conf in dev 2025-06-16 20:18:05 -07:00
406208f26c Add tests for nginx.conf directives (#1)
Adds tests to make sure all the `nginx.conf` directives (the redirects and rewrites and such) are all correct.

- Uses the `busted` framework
- The tests are run in a Docker container by the bash script `test.sh`
- Self-signed certs are generated in `Dockerfile` for all the domain names
- Adds new `Makefile` commands: `test`, `image-build` and `image-rm`

Reviewed-on: #1
Co-authored-by: Catalin Mititiuc <webdevcat@proton.me>
Co-committed-by: Catalin Mititiuc <webdevcat@proton.me>
2025-06-16 20:18:05 -07:00
791cd692c6 Fix MIME types for apps.miti.sh 2025-06-16 20:18:05 -07:00
babcbd78e3 More redirect config 2025-06-16 20:18:05 -07:00
53a582be83 Add config to redirect from old domain 2025-06-16 20:18:05 -07:00
0b3317ace8 Fix indentation in nginx.conf 2025-06-16 20:18:05 -07:00
9f58d37c32 Update nginx.conf for SSL and add gitea app.ini file 2025-06-16 20:18:05 -07:00
178ad8a783 Add default mime type in nginx.conf 2025-06-16 20:18:05 -07:00
9cd539df9e Fix nginx conf 2025-06-16 20:18:05 -07:00
63e5d3f0ca WIP: progress? 2025-06-16 20:18:05 -07:00
b0fbfdcae3 WIP: routes??? 2025-06-16 20:18:05 -07:00
3c6eba1ba5 WIP: routing 2025-06-16 20:18:05 -07:00
c87a2314c5 WIP: add css from stasis 2025-06-16 20:18:04 -07:00
c9c430d41c Add conf/nginx.conf 2025-06-16 20:16:37 -07:00