Add tests for nginx.conf directives #1

Merged
ccm merged 26 commits from ccm-test-nginx-directives into trunk 2025-06-14 21:54:22 +00:00

26 Commits

Author SHA1 Message Date
a0f18520cb Update README.md 2025-06-14 14:26:42 -07:00
576090d065 Add missing acme-challenge block to webdevcat.me server in nginx.conf 2025-06-14 14:15:49 -07:00
5d65aad8b5 Update prod nginx.conf 2025-06-14 14:09:42 -07:00
c0162f210e Update gitea config file app.ini 2025-06-14 14:02:11 -07:00
943ca92c32 Serve webdevcat.me and subdomains with https 2025-06-14 13:49:28 -07:00
e8714ba8d4 Serve apps.miti.sh with https 2025-06-14 13:32:08 -07:00
02d17d1b11 Run socket server as user nobody in reverse-proxy spec 2025-06-14 11:04:33 -07:00
a14be2cbde Add some self-signed TSL certs to test https 2025-06-13 22:04:24 -07:00
027b8616d3 Refactor while loop to not repeat instruction 2025-06-13 16:49:40 -07:00
63719f8fda Rename spec file 2025-06-13 14:31:54 -07:00
d66dde5587 Clean up Makefile 2025-06-13 14:30:49 -07:00
29a979fc66 Clean up test.sh 2025-06-13 14:26:29 -07:00
5265281bab Clean up spec/unixstreamsrvr.moon 2025-06-13 14:24:53 -07:00
f364eb6887 Use Path.exec instead of os.execute where we can 2025-06-13 14:05:03 -07:00
6462ac9968 Assert the socket exists in reverse proxy test 2025-06-13 13:36:36 -07:00
63f50820bd Move socket test server file into spec dir 2025-06-12 17:10:07 -07:00
74632be2e1 Add test for nginx reverse proxy rule 2025-06-12 15:30:28 -07:00
1e33d2770a Add subdomains git and apps 2025-06-11 14:23:11 -07:00
c2dcb5708a Add prod conf to source control 2025-06-11 13:21:00 -07:00
dc8fb2f1f2 Fix test env having access to internet; add apps.miti.sh server to conf 2025-06-11 13:15:50 -07:00
54052e3890 Add capture '/git' (without a trailing slash) to rules 2025-06-11 12:39:07 -07:00
7b8413ae57 Add tests for posts route 2025-06-11 09:52:06 -07:00
831a86c738 Don't publish any ports from the test container
This allows us to make test requests to port 80, like in production
2025-06-11 09:44:38 -07:00
9f019dbac5 Use Busted and LuaJIT-cURL for tests 2025-06-10 18:11:22 -07:00
11c56aff4d Fix nginx.conf redirects; add a rudimentary test 2025-06-10 14:38:33 -07:00
ab20e4ad36 WIP: start and stop docker container with bash script 2025-06-10 13:01:46 -07:00