-
Notifications
You must be signed in to change notification settings - Fork 289
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #689 from benbrummer/master
Align alpine to debian and octane for maintenance
- Loading branch information
Showing
14 changed files
with
165 additions
and
168 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
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
pm.max_children = 10 |
This file was deleted.
Oops, something went wrong.
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,22 @@ | ||
[core] | ||
; https://www.php.net/manual/en/ini.core.php | ||
post_max_size=10M | ||
upload_max_filesize=10M | ||
|
||
[opcache] | ||
; https://www.php.net/manual/en/opcache.installation.php#opcache.installation.recommended | ||
opcache.enable_cli=1 | ||
|
||
[jit] | ||
; https://wiki.php.net/rfc/jit_config_defaults | ||
opcache.jit=tracing | ||
opcache.jit_buffer_size=64M | ||
|
||
[extra] | ||
; http://symfony.com/doc/current/performance.html | ||
opcache.memory_consumption=256 | ||
opcache.max_accelerated_files=20000 | ||
opcache.preload=/var/www/app/preload.php | ||
opcache.validate_timestamps=0 | ||
realpath_cache_size=4096K | ||
realpath_cache_ttl=600 |
This file was deleted.
Oops, something went wrong.
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,14 @@ | ||
# https://nginx.org/en/docs/http/ngx_http_core_module.html | ||
client_max_body_size 10M; | ||
client_body_buffer_size 10M; | ||
server_tokens off; | ||
|
||
# https://nginx.org/en/docs/http/ngx_http_fastcgi_module.html | ||
fastcgi_buffers 32 16K; | ||
|
||
# https://nginx.org/en/docs/http/ngx_http_gzip_module.html | ||
gzip on; | ||
gzip_comp_level 2; | ||
gzip_min_length 1M; | ||
gzip_proxied any; | ||
gzip_types *; |
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,32 @@ | ||
# https://laravel.com/docs/master/deployment#nginx | ||
server { | ||
listen 80 default_server; | ||
server_name _; | ||
root /var/www/app/public; | ||
|
||
add_header X-Frame-Options "SAMEORIGIN"; | ||
add_header X-Content-Type-Options "nosniff"; | ||
|
||
index index.php; | ||
|
||
charset utf-8; | ||
|
||
location / { | ||
try_files $uri $uri/ /index.php?$query_string; | ||
} | ||
|
||
location = /favicon.ico { access_log off; log_not_found off; } | ||
location = /robots.txt { access_log off; log_not_found off; } | ||
|
||
error_page 404 /index.php; | ||
|
||
location ~ \.php$ { | ||
fastcgi_pass app:9000; | ||
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name; | ||
include fastcgi_params; | ||
} | ||
|
||
location ~ /\.(?!well-known).* { | ||
deny all; | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
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 @@ | ||
pm.max_children = 10 |
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,21 +1,22 @@ | ||
session.auto_start = Off | ||
short_open_tag = Off | ||
[core] | ||
; https://www.php.net/manual/en/ini.core.php | ||
post_max_size=10M | ||
upload_max_filesize=10M | ||
|
||
error_reporting = E_ALL & ~E_NOTICE & ~E_WARNING & ~E_STRICT & ~E_DEPRECATED | ||
[opcache] | ||
; https://www.php.net/manual/en/opcache.installation.php#opcache.installation.recommended | ||
opcache.enable_cli=1 | ||
|
||
; opcache.enable=1 | ||
; opcache.preload=/var/www/app/preload.php | ||
; opcache.preload_user=www-data | ||
[jit] | ||
; https://wiki.php.net/rfc/jit_config_defaults | ||
opcache.jit=tracing | ||
opcache.jit_buffer_size=64M | ||
|
||
; ; The OPcache shared memory storage size. | ||
; opcache.max_accelerated_files=300000 | ||
; opcache.validate_timestamps=1 | ||
; opcache.revalidate_freq=30 | ||
; opcache.jit_buffer_size=256M | ||
; opcache.jit=1205 | ||
; opcache.memory_consumption=1024M | ||
|
||
|
||
post_max_size = 60M | ||
upload_max_filesize = 50M | ||
memory_limit=512M | ||
[extra] | ||
; http://symfony.com/doc/current/performance.html | ||
opcache.memory_consumption=256 | ||
opcache.max_accelerated_files=20000 | ||
opcache.preload=/var/www/app/preload.php | ||
opcache.validate_timestamps=0 | ||
realpath_cache_size=4096K | ||
realpath_cache_ttl=600 |
Oops, something went wrong.