Jamie Curnow
d9b9af543e
Fix text replacement whoops
2023-03-30 15:03:57 +10:00
Jamie Curnow
eb2e2e0478
Throw in a docker restart during testing phase
2023-03-30 14:44:15 +10:00
Jamie Curnow
9225d5d442
Tweak test
2023-03-30 13:00:22 +10:00
Jamie Curnow
308a7149ed
Tweak test
2023-03-30 12:55:20 +10:00
Jamie Curnow
8a4a7d0caf
Allow 201 as success in test result
2023-03-30 12:51:26 +10:00
Jamie Curnow
5d03ede100
Add test for creating a host
2023-03-30 12:44:28 +10:00
Jamie Curnow
4a86bb42cc
Different approach, always create npmuser
...
even if the user id is zero, and then we'll always use it
2023-03-30 11:19:16 +10:00
Jamie Curnow
dad8561ea1
Use numbers for permissions in case npmuser doesn't exist
2023-03-30 10:20:20 +10:00
Jamie Curnow
56a92e5c0e
Run as root by default
...
Optionally run as another user/group only if
the env vars are specified. Should give flexibility
to those who need to run processes as root and open ports
without having to request additional priveleges
2023-03-30 09:04:37 +10:00
Jamie Curnow
9d672f5813
Own this nginx folder too
2023-03-29 14:04:48 +10:00
Jamie Curnow
d5ed70dbb6
Own this nginx folder too
2023-03-29 14:03:58 +10:00
jc21
c197e66d62
Merge pull request #2764 from NginxProxyManager/develop
...
v2.10.1
2023-03-29 08:54:30 +10:00
Jamie Curnow
91cf3c8873
Tweaks to docker compose ci after updates
2023-03-29 08:24:28 +10:00
Jamie Curnow
7f5e0414ac
Bump version
2023-03-29 07:22:15 +10:00
Jamie Curnow
d179887c15
Another fix for #2734 , only chown parts of /etc/nginx
2023-03-28 10:39:26 +10:00
Jamie Curnow
35abb4d7ae
Execute permissions missing on script
2023-03-28 09:33:30 +10:00
Jamie Curnow
61b290e220
Chown each folder on separately
...
Really not sure why this fixes #2734 however it does actually
help the ownership script succeed specifically on arm7/raspbian
2023-03-28 08:50:10 +10:00
jc21
e1bcef6e5c
Merge pull request #2749 from NginxProxyManager/develop
...
v2.10.0
2023-03-27 12:17:07 +10:00
jc21
81f51f9e2d
Merge branch 'master' into develop
2023-03-27 08:29:08 +10:00
Jamie Curnow
661953db25
Bump version
2023-03-27 08:26:42 +10:00
jc21
065c2dac42
Merge pull request #2721 from NginxProxyManager/docker-user-group
...
Docker users and groups, refactor configuration
2023-03-27 08:19:57 +10:00
jc21
2926844cbe
Merge pull request #2738 from NginxProxyManager/develop
...
v2.9.22
2023-03-24 08:48:45 +10:00
jc21
c1960f3793
Merge branch 'master' into develop
2023-03-24 08:19:54 +10:00
Jamie Curnow
11a29a8b67
Bump version
2023-03-24 08:15:27 +10:00
Jamie Curnow
c40e48e678
Fix docker restart because user already exists
2023-03-23 10:21:34 +10:00
Jamie Curnow
124cb18e17
Fix renewing certs because of permission errors
2023-03-22 13:40:36 +10:00
Jamie Curnow
5ac9dc0758
Attempt to set HOME for npmuser backend
2023-03-22 13:00:26 +10:00
Jamie Curnow
9a799d51ce
Optimize docker image a bit
2023-03-22 09:42:16 +10:00
Jamie Curnow
77eb618758
Fix pip installs running as non-root user
2023-03-22 09:41:59 +10:00
Jamie Curnow
79fedfcea4
Use consistent docker-compose file version in docs
2023-03-22 09:41:19 +10:00
Jamie Curnow
8fdb8ac853
Update docs
2023-03-21 18:26:28 +10:00
Jamie Curnow
4fdc80be01
Fix logical error with keys and mysql config
2023-03-21 17:59:27 +10:00
Jamie Curnow
f8e6c8d018
Fix mistake with debug output
2023-03-21 17:49:39 +10:00
Jamie Curnow
c3469de61b
Linting fixes
2023-03-21 17:11:16 +10:00
Jamie Curnow
ea61b15a40
don't zip log files anymore
2023-03-21 16:59:36 +10:00
Jamie Curnow
60175e6d8c
Updates for ci stack
2023-03-21 16:56:45 +10:00
Jamie Curnow
2a07445005
Refactor configuration
...
- No longer use config npm package
- Prefer config from env vars, though still has support for config file
- No longer writes a config file for database config
- Writes keys to a new file in /data folder
- Removes a lot of cruft and improves config understanding
2023-03-21 16:53:39 +10:00
Jamie Curnow
dad3e1da7c
Adds support to run processes as a user/group, defined
...
with PUID and PGID environment variables
- Detects if image is run with a user in docker command and fails if so
- Adds s6 prepare scripts for adding a 'npmuser'
- Split up and refactor the s6 prepare scripts
- Runs nginx and backend node as 'npmuser'
- Changes ownership of files required at startup
2023-03-20 16:56:52 +10:00
Jamie Curnow
82d9452001
Move some older s6-overlay over to new format, fixes #2705
2023-03-18 17:45:31 +10:00
jc21
095bc8f676
Merge pull request #2703 from NginxProxyManager/develop
...
v2.9.21
2023-03-18 16:10:27 +10:00
jc21
8c15340b83
Merge branch 'master' into develop
2023-03-18 14:20:42 +10:00
jc21
a13f7c3792
Merge pull request #2702 from dormancygrace/patch-3
...
update reg.ru template
2023-03-18 14:17:41 +10:00
Jamie Curnow
6748985669
bump version
2023-03-18 14:15:37 +10:00
dormancygrace
e2957f070b
update reg.ru template
...
this small fix make it work again with certbot >=2.1.0
2023-03-18 03:37:23 +02:00
Jamie Curnow
fccbde1371
fix linting
2023-03-17 14:23:12 +10:00
Jamie Curnow
fec36834f7
- Updated objection, knex, liquidjs, signale and sqlite3 packages
...
- Changes for objection migration
- Moved common access template code to an include
- Fixed access rules configuration generation
2023-03-17 14:18:51 +10:00
Jamie Curnow
00aeef75b6
Refactor nginx config functions, some don't need to report errors, save error'd config files as .err for debugging later
2023-03-17 11:34:27 +10:00
Jamie Curnow
5b7682f13c
Update s6-overlay and move processes to new format
2023-03-17 08:50:32 +10:00
Jamie Curnow
b30fcb50c8
Args weren't being passed to htpasswd command, fixes #2692
2023-03-17 08:49:18 +10:00
jc21
100c56ad10
Merge pull request #2686 from NginxProxyManager/develop
...
v2.9.20
2023-03-16 09:42:28 +10:00