forked fromaschmelyun/docker-compose-laravel
- Notifications
You must be signed in to change notification settings - Fork0
Commit5670769
authored
Updates nginx.dockerfile with permissions changes
Adds arguments and env conversions which pull from docker-compose.yml. Removes the pulled-in nginx.conf file and replaces it with a sed line that changes the default nginx user to the one determined by the env values. Dynamically adds group and user depending on env values, manually exiting as 0 successful (e.g. when using root or www-data users).1 parent027616a commit5670769
1 file changed
+9
-4
lines changedLines changed: 9 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 |
| - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
4 | 11 |
| |
5 | 12 |
| |
6 | 13 |
| |
7 | 14 |
| |
8 |
| - | |
9 |
| - | |
10 |
| - | |
| 15 | + |
0 commit comments
Comments
(0)