-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- strictly pass .env to docker compose - reload of unit should use better config - remove version string, compose v1 remains
- Loading branch information
Showing
6 changed files
with
135 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
version: "3.7" | ||
|
||
x-service-defaults: | ||
&service-defaults | ||
restart: always | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
version: "3.7" | ||
|
||
x-service-defaults: | ||
&service-defaults | ||
restart: always | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,115 @@ | ||
{ | ||
"listeners": { | ||
"*:80": { | ||
"pass": "routes" | ||
} | ||
}, | ||
"routes": [ | ||
{ | ||
"match": { | ||
"uri": [ | ||
"!*/.well-known/*", | ||
"/vendor/*", | ||
"/core/profiles/demo_umami/modules/demo_umami_content/default_content/*", | ||
"*.engine", | ||
"*.inc", | ||
"*.install", | ||
"*.make", | ||
"*.module", | ||
"*.po", | ||
"*.profile", | ||
"*.sh", | ||
"*.theme", | ||
"*.tpl", | ||
"*.twig", | ||
"*.xtmpl", | ||
"*.yml", | ||
"*/.*", | ||
"*/Entries*", | ||
"*/Repository", | ||
"*/Root", | ||
"*/Tag", | ||
"*/Template", | ||
"*/composer.json", | ||
"*/composer.lock", | ||
"*/web.config", | ||
"*sql", | ||
"*.bak", | ||
"*.orig", | ||
"*.save", | ||
"*.swo", | ||
"*.swp", | ||
"*~" | ||
] | ||
}, | ||
"action": { | ||
"return": 404 | ||
} | ||
}, | ||
{ | ||
"match": { | ||
"uri": [ | ||
"/core/authorize.php", | ||
"/core/install.php", | ||
"/core/modules/statistics/statistics.php", | ||
"~^/core/modules/system/tests/https?\\.php", | ||
"/core/rebuild.php", | ||
"/update.php", | ||
"/update.php/*" | ||
] | ||
}, | ||
"action": { | ||
"pass": "applications/drupal/direct" | ||
} | ||
}, | ||
{ | ||
"match": { | ||
"uri": [ | ||
"!/index.php*", | ||
"*.php" | ||
] | ||
}, | ||
"action": { | ||
"return": 404 | ||
} | ||
}, | ||
{ | ||
"action": { | ||
"share": "/var/www/html/web$uri", | ||
"fallback": { | ||
"pass": "applications/drupal/index" | ||
} | ||
} | ||
} | ||
], | ||
"applications": { | ||
"drupal": { | ||
"type": "php", | ||
"processes": { | ||
"max": 4, | ||
"spare": 2, | ||
"idle_timeout": 120 | ||
}, | ||
"limits": { | ||
"timeout": 300, | ||
"requests": 1500 | ||
}, | ||
"options": { | ||
"admin": { | ||
"memory_limit": "1G", | ||
"opcache.jit_buffer_size": "20M" | ||
} | ||
}, | ||
"targets": { | ||
"direct": { | ||
"root": "/var/www/html/web/" | ||
}, | ||
"index": { | ||
"root": "/var/www/html/web/", | ||
"script": "index.php" | ||
} | ||
} | ||
} | ||
}, | ||
"access_log": "/dev/stdout" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters