Jose Diaz-Gonzalez
0cb1adb38a
fix: allow nginx commands when the scheduler is set to null
2024-11-03 00:01:19 -04:00
Jose Diaz-Gonzalez
90e8cac12f
feat: implement nginx:show-config for k3s plugin
...
This allows users to see what nginx configs are in use for their applications.
Closes #7291
2024-10-21 22:09:09 -04:00
Jose Diaz-Gonzalez
4d7f779c28
feat: add support for various timeout-related functions to nginx, openresty and k3s plugins
...
Closes #7267
2024-10-16 00:51:01 -04:00
Jose Diaz-Gonzalez
b99c25f090
feat: add support for setting underscores-in-headers for nginx, openresty, and k3s
...
Closes #6627
2024-02-27 13:49:44 -05:00
Jose Diaz-Gonzalez
d4b445985b
refactor: consolidate property fetching for nginx plugin into golang codebase
...
Also update the documentation to include docs for all properties.
2024-02-06 00:42:48 -05:00
Jose Diaz-Gonzalez
3f127a7cc4
feat: inject docker labels when nginx proxy implementation is in use
...
This will allow users to switch to a docker label-based nginx proxy server transparently without rebuilds (after the first one), which would mimic how the caddy, haproxy, and traefik proxy implementations work.
See https://github.com/dokku/nginx-docker-proxy for an example server implementation.
2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
59fde3a317
chore: remove deprecated nginx commands
2023-02-12 13:12:47 -05:00
Jose Diaz-Gonzalez
5fed0c45ac
refactor: use the properties system instead of the data dir for tracking whether a proxy should be stopped or started
2022-11-29 01:38:36 -05:00
Jose Diaz-Gonzalez
b97a5c0c00
feat: keep track of whether proxy implementation should be stopped or started
2022-11-29 01:38:36 -05:00
Jose Diaz-Gonzalez
bde7b16a80
chore: reorder commands alphabetically
2022-11-29 01:38:36 -05:00
Jose Diaz-Gonzalez
2946e6d632
fix: enable/disable nginx when calling nginx:start/nginx:stop
2022-11-29 01:38:36 -05:00
Jose Diaz-Gonzalez
17814d4847
refactor: only extract the nginx.conf.sigil from the source code and not an app path
...
The previous method was a bit more difficult for users to interact with as they needed to ensure the file was at a certain path in the built image. This change divorces the file from the built artifact, better aligning the nginx.conf.sigil handling with the rest of Dokku's monorepo support.
A side effect of this is now building proxy configurations does not require access to the built image.
Closes #5207
2022-11-23 19:32:53 -05:00
Jose Diaz-Gonzalez
98feb988fa
feat: implement nginx:start and nginx:stop commands
2022-08-10 04:23:05 -04:00
Jose Diaz-Gonzalez
62a3eff5bb
refactor: move apps listing from common plugin to apps plugin
...
This helps centralize app-related listing fetching.
2022-02-26 00:37:51 -05:00
Jose Diaz-Gonzalez
f7e218637e
feat: add ability to specify X-Forwarded-Ssl header for proxied requests
...
Closes #4401
2021-02-20 00:03:25 -05:00
Jose Diaz-Gonzalez
5cac43fe55
refactor: fix computation test and remove the app-specific hsts value
...
The default for an app is empty, meaning it will fallback to the global value (which defaults to true). This will allow users to properly override the global value, regardless of what it is.
2021-01-23 15:49:40 -05:00
Aubrey Hewes
8cc92680c5
feat(nginx-proxy): allow disabling hsts globally and explicitly enabling it per app
...
https://github.com/dokku/dokku/pull/3843
2021-01-23 15:09:51 -05:00
Jose Diaz-Gonzalez
277e9691e1
feat: add ability to set client max body size via nginx:set
...
This simplifies increasing upload size by making it a property, and is backwards compatible with installations that have set that in a custom file.
2021-01-21 01:41:34 -05:00
Bjorn Post
a6062d4ab4
feat: make feature more generic, also add support for setting -port and -proto values via nginx:set, refs #4339
2021-01-19 21:40:47 +01:00
Bjorn Post
bdb160bec1
feat: add trust-x-forwarded-for status in report, refs #4339
2021-01-18 21:58:45 +01:00
Andrew Kane
c0581a0e37
feat: add ability to change the access log format
2020-11-30 21:59:36 -08:00
Yihao
30414cbd0c
feat: Allow controlling nginx proxy-buffer-size, proxy-buffering, proxy-buffers, proxy-busy-buffers-size
2020-09-19 09:51:55 +09:30
Jose Diaz-Gonzalez
f5ba843cf3
feat: add ability to disable custom ninx.conf.sigil extraction
...
Closes #4087
2020-09-04 11:29:23 -04:00
Roland van Laar
5f312d7347
Make make test pass on linting
2020-07-04 00:08:44 +02:00
Jose Diaz-Gonzalez
42122a7540
feat: allow controlling proxy-read-timeout
...
Closes #4042
2020-07-01 19:08:15 -04:00
Jose Diaz-Gonzalez
ee786e1962
feat: add support for outputting the last visited time
...
This checks the ctime of the log file if available, otherwise returns empty string
2020-04-18 18:15:20 -04:00
Jose Diaz-Gonzalez
62caa85423
feat: add ability to change or disable the access/error log path
...
Closes #3911
2020-04-01 12:21:52 -04:00
Jose Diaz-Gonzalez
8186934f72
chore: add deprecated tag
2020-03-10 14:13:18 -04:00
Jose Diaz-Gonzalez
1ba5269779
fix: use correct command name
2020-02-19 01:02:12 -05:00
Jose Diaz-Gonzalez
94357b961e
refactor: deprecate nginx:validate
...
The command function move was to fix circular import issues...
2020-02-19 01:00:47 -05:00