Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[php-nginx]sendfile off にする #38

Open
lobin-z0x50 opened this issue Aug 15, 2024 · 0 comments
Open

[php-nginx]sendfile off にする #38

lobin-z0x50 opened this issue Aug 15, 2024 · 0 comments

Comments

@lobin-z0x50
Copy link
Member

やりたいこと

nginxのコンフィグで sendfile off; にしたい。
https://github.com/neogenia-jp/neo-dockers/blob/master/php-nginx/resources/nginx/etc/nginx/nginx.conf#L15C1-L16C1

困りごと

新しい Ubuntu24.04 の開発VMでは、sendfile on にしていると静的ファイルの配信時にエラーが発生する。
nginx の公式ドキュメントによると、sendfile はデフォルトで off になっている。

エンドユーザへの影響度

  1. [なし] エンドユーザへの影響は全くない
  2. [小] 困りごとを容易に回避することができる。業務への支障が少ない。
  3. [中] 業務への支障があるものの、困りごとを回避する方法がある。
  4. [大] 業務を行うことができない、または重大な支障がある。

2

対応

対応方針

nginxのコンフィグで sendfile off; にする。またはコメントアウトか、行自体を削除する。
https://github.com/neogenia-jp/neo-dockers/blob/master/php-nginx/resources/nginx/etc/nginx/nginx.conf#L15C1-L16C1

タスクバラシ

TODO

@lobin-z0x50 lobin-z0x50 changed the title [php-nginx] [php-nginx]sendfile off にする Aug 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant