0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

nginxがunicornのソケットにアクセスできない(Permission denied)

Posted at

nginxの実行ユーザはuniconのそれと同じにしてるのになんで?
と思ったら SELinux が有効になってたという罠。

とりあえず動かしたいだけなので、SELinuxを無効化

$ sudo setenforce 0

これで動くようになった。

SELinuxを有効にしつつ使えるようにする設定については後々対応のつもり

参考

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?