1
0
mirror of https://github.com/dokku/buildpack-nginx.git synced 2024-11-05 11:48:42 +00:00
Commit Graph

198 Commits

Author SHA1 Message Date
Igor Loskutov
eeb2caf824
Add wasm mime type
This is needed for support of WASM standard' https://www.w3.org/TR/wasm-web-api-1/#streaming-modules instantiateStreaming and compileStreaming, 

and causes errors like

```
WASM: wasm streaming compile failed: TypeError: Failed to execute 'compile' on 'WebAssembly': Incorrect response MIME type. Expected 'application/wasm'.
```

since plain text is returned instead.

It also doesn't seem to be easily fixable even with `nginx.conf.sigil` substitution
2023-04-16 20:33:18 +07:00
josegonzalez
61bfffb6c6
Merge pull request #66 from fc-anjos/docs/nginx_default_request
Fix NGINX_DEFAULT_REQUEST snippet
2023-01-18 15:17:37 -05:00
Felipe dos Anjos
bcbf61b1f5 fix NGINX_DEFAULT_REQUEST snippet 2023-01-18 17:09:43 -03:00
Jose Diaz-Gonzalez
8345d0a22a
Merge pull request #65 from dokku/64-catch-bin-error
Ensure we check for the right sigil binary
2022-09-12 10:53:59 -04:00
Jose Diaz-Gonzalez
8560e5b5a9
fix: ensure we check for the right binary
Closes #64
2022-09-12 10:22:04 -04:00
Jose Diaz-Gonzalez
aa191df661
Merge pull request #63 from dokku/upgrade-pcre
Upgrade pcre to pcre2
2022-09-10 21:09:31 -04:00
Jose Diaz-Gonzalez
7fe92f4821 chore: remove extra debug statement 2022-09-10 21:05:23 -04:00
Jose Diaz-Gonzalez
25fb7889a5 fix: build against the correct directory 2022-09-10 21:02:04 -04:00
Jose Diaz-Gonzalez
6381244e26 debug: where is the pcre2 output 2022-09-10 20:57:21 -04:00
Jose Diaz-Gonzalez
7874622b04 feat: upgrade pcre to pcre2 2022-09-10 20:54:48 -04:00
Jose Diaz-Gonzalez
0329f9e0ff
Merge pull request #62 from dokku/upgrade-nginx
Upgrade nginx to 1.23.1
2022-09-10 20:50:42 -04:00
Jose Diaz-Gonzalez
043965bc7d feat: upgrade nginx to 1.23.1 2022-09-10 20:46:19 -04:00
Jose Diaz-Gonzalez
3a1e442373
Merge pull request #61 from dokku/upgrade-sigil
Upgrade sigil to 0.9.0
2022-09-10 20:44:47 -04:00
Jose Diaz-Gonzalez
6a99e870e4 fix: copy the new binary into the correct place 2022-09-10 20:42:01 -04:00
Jose Diaz-Gonzalez
ad5e831e74 chore: debug 2022-09-10 20:36:01 -04:00
Jose Diaz-Gonzalez
ed31137f94 feat: upgrade sigil to 0.9.0 2022-09-10 20:31:57 -04:00
Jose Diaz-Gonzalez
a68149bce7
Merge pull request #60 from dokku/upgrade-zlib
Upgrade zlib to 1.2.12
2022-09-10 20:30:21 -04:00
Jose Diaz-Gonzalez
6a592755ff feat: upgrade zlib to 1.2.12 2022-09-10 20:27:47 -04:00
Jose Diaz-Gonzalez
2b95cd179b
Merge pull request #59 from dokku/test-conf
Ensure test runs against vendored app-nginx.conf.sigil and mime.types
2022-09-10 20:23:40 -04:00
Jose Diaz-Gonzalez
9b7f098ced fix: add whitespace 2022-09-10 20:20:44 -04:00
Jose Diaz-Gonzalez
7154c020a1 fix: use GITHUB_HEAD_REF instead 2022-09-10 20:14:49 -04:00
Jose Diaz-Gonzalez
a11d1ce303 refactor: use ref name instead of sha 2022-09-10 20:11:49 -04:00
Jose Diaz-Gonzalez
53b41ec631 fix: override commit being deployed 2022-09-10 19:58:50 -04:00
Jose Diaz-Gonzalez
c8eef60b09 test: ensure test runs against vendored app-nginx.conf.sigil and mime.types 2022-09-10 18:56:55 -04:00
Jose Diaz-Gonzalez
09fe857895
Merge pull request #58 from dokku/correct-remote-host
fix: use correct remote host
2022-09-10 18:29:17 -04:00
Jose Diaz-Gonzalez
31dc4746e2 fix: use correct remote host 2022-09-10 18:25:08 -04:00
Jose Diaz-Gonzalez
59ea0b94e1
Merge pull request #57 from dokku/review-app-cleanup
Split out workflows so that review app cleanup is properly run
2022-09-10 18:23:10 -04:00
Jose Diaz-Gonzalez
301d00c751 fix: name workflows correctly 2022-09-10 18:20:42 -04:00
Jose Diaz-Gonzalez
28328e4d90 refactor: split out workflows so that review app cleanup is properly run
The old setup - copy-pasted from the internet somewhere - was incorrect based on how github actions works. *sigh*
2022-09-10 18:19:27 -04:00
Jose Diaz-Gonzalez
dce20c0a8f
Merge pull request #56 from dokku/auto-deploy
Test this buildpack by deploying to a dokku server
2022-09-10 18:12:48 -04:00
Jose Diaz-Gonzalez
0e7bef86f9 chore: ensure robots do not crawl these test domains 2022-09-10 18:09:55 -04:00
Jose Diaz-Gonzalez
faf2a70272 fix: use correct domain name 2022-09-10 18:09:06 -04:00
Jose Diaz-Gonzalez
f981b138ed fix: use a dokku.net subdomain to avoid hsts issues 2022-09-10 18:04:40 -04:00
Jose Diaz-Gonzalez
7794c2c36f chore: add some debugging information 2022-09-10 18:02:11 -04:00
Jose Diaz-Gonzalez
22619107ab chore: silence ci hook 2022-09-10 17:58:38 -04:00
Jose Diaz-Gonzalez
1a28ec8509 feat: purge cache on every review app deploy
This ensures we test the currently built nginx binary.
2022-09-10 17:53:46 -04:00
Jose Diaz-Gonzalez
e28d2049e5 debug: see what directory we are in 2022-09-10 17:42:55 -04:00
Jose Diaz-Gonzalez
6a73313edb fix: always run the first job 2022-09-10 17:41:00 -04:00
Jose Diaz-Gonzalez
648d73fda6 fix: set current buildpack as the buildpack to use 2022-09-10 17:38:10 -04:00
Jose Diaz-Gonzalez
1769636cc8 tests: test deploys via github action 2022-09-10 17:31:47 -04:00
Jose Diaz-Gonzalez
6a9c79f8d0 feat: add initial files needed to deploy this as a site for testing purposes 2022-09-10 17:24:45 -04:00
Jose Diaz-Gonzalez
7a1b16877d
Merge pull request #55 from dokku/cleanup
chore: run shfmt
2022-09-10 17:16:24 -04:00
Jose Diaz-Gonzalez
c50c220ba4 chore: run shfmt 2022-09-10 17:13:33 -04:00
Jose Diaz-Gonzalez
c2273de014
chore: drop ssl module 2022-09-10 17:10:30 -04:00
Jose Diaz-Gonzalez
91c41476ae
feat: add ssl module 2022-09-10 16:55:10 -04:00
Jose Diaz-Gonzalez
90c8bd9365
Merge pull request #54 from dokku/53-custom-static-routing
feat: allow overriding default 404 response with custom file
2022-08-07 19:11:02 -04:00
Jose Diaz-Gonzalez
89196adbf1 feat: allow overriding default 404 response with custom file
This allows folks the ability to restore the previous routing functionality used by static sites backed by VueJS (as an example).

Note that all requests routed this way will respond with a '200 OK' on the server, potentially causing SEO issues.

Closes #53
2022-08-07 19:10:31 -04:00
Jose Diaz-Gonzalez
dbbbcc2c3e
Merge pull request #52 from joeyates/master
Enable http_auth
2022-08-07 19:08:54 -04:00
Jose Diaz-Gonzalez
daa9549fb7 docs: call out customizations separately 2022-08-07 19:08:09 -04:00
Joe Yates
66b91f18e4
Enable http_auth 2021-12-28 20:45:30 +01:00