Commit Graph

117 Commits

Author SHA1 Message Date
Jamie Curnow
ac0074ea86
Cypress upgrade 2024-05-21 13:06:24 +10:00
Jamie Curnow
42cd1f2866
Fix rootfs location and update s6 2024-05-09 08:54:59 +10:00
Jamie Curnow
ecc3b2b5b7
Fixed frontend issues, switched back to nginxproxymanager dockerhub space 2024-05-09 08:41:49 +10:00
Jamie Curnow
fb880616c7
Updated frontend deps and use node:20 2024-05-08 09:41:32 +10:00
Jamie Curnow
d8a3726f3a
Expose backend coverage in dev mode through web
Generate backend coverage in ci
2023-07-27 13:44:38 +10:00
Jamie Curnow
fd277973cd
Complete the removal of Sentry 2023-07-24 14:41:46 +10:00
Jamie Curnow
9b32329f41
Apply fixes from v2 2023-07-24 08:08:05 +10:00
Jamie Curnow
6d6021c9bb
Converted to Vite since create-react-app is no longer being developed 2023-07-20 15:11:41 +10:00
Jamie Curnow
94b6971ef7
Test 2023-05-31 13:00:16 +10:00
Jamie Curnow
7edcb8e3cc
CI Fix 2023-05-30 14:15:33 +10:00
Jamie Curnow
3c1b4fdf34
Added migrations for mysql and postgres, added ci testing suites for them 2023-05-30 13:26:46 +10:00
Jamie Curnow
030f3c9d83
Switch to forked repos for Dbmate/Modernc-sqlite so that they use a non-cgo library for sqlite
thus hopefully enabling native compilation on arm/arm64
2023-05-27 12:43:07 +10:00
Jamie Curnow
b4365f5c54
Enable Cgo again for use with embedded dbmate 2023-05-26 22:06:06 +10:00
Jamie Curnow
b4e5b8b6db
Remove cruft 2023-05-16 08:39:18 +10:00
Jamie Curnow
d6e96dc3cb
Fix ci build 2023-05-12 09:58:50 +10:00
Jamie Curnow
ab772d645b
Support for dynamic ip ranges from urls
- Adds ipranges command to fetch ip ranges from Cloudfront and Cloudflare
- Write the ipranges file on docker start
- Support disabling ipv4 as well as ipv6 now
- Prevent disabling both
2023-05-12 09:40:45 +10:00
Jamie Curnow
f43e41d7d0
Fixes for npm user rename 2023-05-11 11:37:21 +10:00
Jamie Curnow
fb8ca0b02f
Bring up to recent v2 changes around s6 2023-05-11 10:55:30 +10:00
Jamie Curnow
00aaa024a6
Replace sqlite module with a non-cgo version. Removed usql from dev 2023-04-11 21:26:09 +10:00
Jamie Curnow
a5166435ff
Update all frontend libraries 2023-04-11 21:24:18 +10:00
Jamie Curnow
e3ce8b4d12
Add missing folder 2023-04-11 09:55:19 +10:00
Jamie Curnow
c0c89e5d15
Updates to user/group determination after recent changes to v2 branch 2023-04-11 09:12:48 +10:00
Jamie Curnow
12909de3c1
Moved base images docker repo back to jc21, as
docker is sunsetting free teams and this open source project isn't prepared to pay 300 shmackaroos for a nicer image url
2023-03-15 15:28:28 +10:00
Jamie Curnow
700518a0a2
Added fail2ban, though not sure its configured correctly yet 2023-03-09 22:11:28 +10:00
Jamie Curnow
292a209195
Ported #2582 to v3 2023-03-08 08:37:43 +10:00
Jamie Curnow
215083f6cf
Certificates Renewal + SSE
- Certificate renewal is just a re-request as it's forced already
- Rejig the routes for readability
- Added Server Side Events so that the UI would invalidate the
cache when changes happen on the backend, such as certs being
provided or failing
- Added a SSE Token, which has the same shelf life as normal token
but can't be used interchangeably. The reason for this is, the
SSE endpoint needs a token for auth as a Query param, so it would
be stored in log files. If someone where to get a hold of that,
it's pretty useless as it can't be used to change anything, only
to listen for events until it expires
- Added test endpoint for SSE testing only availabe in debug mode
2023-03-07 16:42:26 +10:00
Jamie Curnow
0244187c29
Improved pdns dev config 2023-03-05 22:36:14 +10:00
Jamie Curnow
e433bdaeec
Fix for pdns startup 2023-02-26 01:17:34 +10:00
Jamie Curnow
5f27b9243f
Use json log format in ci 2023-02-25 22:58:38 +10:00
Jamie Curnow
6b7ae48570
Fixes for start-dev and optimisations 2023-02-25 22:52:42 +10:00
Jamie Curnow
ecbc55f318
Updated to latest s6-overlay 2023-02-24 18:31:46 +10:00
Jamie Curnow
80315bd50e
Fix hot reloading backend with new updates to Task 2023-02-19 15:11:22 +10:00
Jamie Curnow
5e5f0de0e2 - Added upstream objects
- Renamed host templates to nginx templates
- Generate upstream templates
- Better nginx error reporting when reloading
- Use tparse for golang test reporting
2023-01-04 15:53:52 +10:00
Jamie Curnow
3c0af95468 Fixes 2022-07-14 21:53:11 +10:00
Jamie Curnow
e4a97d4813 Use node 16 2022-05-22 23:54:40 +10:00
Jamie Curnow
2110ecc382 Moved v3 code from NginxProxyManager/nginx-proxy-manager-3 to NginxProxyManager/nginx-proxy-manager 2022-05-12 08:47:31 +10:00
Omer Cohen
ac25171420
Update resolvers.conf to break dns cache
By default, nginx caches answers using the TTL value of a response.
In a dynamic environment containers can get recreated with new IPs,
reducing the validity of the cache allows refreshing these IPs

https://nginx.org/en/docs/http/ngx_http_core_module.html#resolver
2022-02-16 09:31:56 +02:00
Jamie Curnow
5edb16f36e Fix failing pip installs, downgrade setuptools 2022-01-17 21:46:26 +10:00
Jamie Curnow
818b9595aa Use renamed nginx-full docker images 2022-01-11 08:57:24 +10:00
Jamie Curnow
c78f641e85 Revert #1614
as it breaks some existing services
2022-01-11 08:54:40 +10:00
jc21
7e451bce0b
Merge pull request #1688 from jlesage/resolvers-fix
Fixed generation of resolvers.conf.
2022-01-02 22:05:32 +10:00
jc21
b9ef11e8bf
Merge pull request #1614 from the1ts/feature/proxy-header-additions
Feature: Add two new headers to proxy.conf
2022-01-02 16:11:50 +10:00
Jocelyn Le Sage
849bdcda7b Fixed generation of resolvers.conf.
This fixes scenarios where `resolv.conf` generated by dhcpcd has a nameserver with `%interface` appended to its IPv6 address.
For example, a line like this must be properly handled:
nameserver fe80::7747:4aff:fe9a:8cb1%br0
2021-12-26 21:49:55 -05:00
Jocelyn Le Sage
5aae8cd0e3 Fixed the access log path to match the HTTP one. This also fixes its handling by logrotate. 2021-12-26 20:56:42 -05:00
Paul Mansfield
3dfe23836c
Add two new headers to proxy.conf
Fixes #1609. Adding both  X-Forwarded-Host  and X-Forwarded-Port, this is vital for some services behind a proxy (used to allow creation of absolute links in html). I've had to include at least the Host version in the past for jenkins and nexus.
Been running locally for 24 hours, does not appear to break any of my 15+ services currently running behind NPM would allow people to host those services without the need for advanced configuration
2021-11-29 13:48:39 +00:00
chaptergy
1f879f67a9 Reverts back to proxy_pass without variables 2021-11-09 13:57:39 +01:00
Julian Reinhardt
3d80759a21 Renames the $upstream variables and does not append $request_ui if capture group exists in location 2021-11-04 10:08:15 +01:00
Julian Reinhardt
4ada0feae3 Removes swagger container and adds exposed port for DB in dev env 2021-11-02 11:33:22 +01:00
Julian Reinhardt
ca59e585d8 Uses variable in proxy_pass for normal proxy hosts 2021-10-25 14:58:02 +02:00
chaptergy
f63441921f Sets the cert chain to prefer ISRG Root X1 2021-10-12 16:11:47 +02:00