User to start Passenger (with Nginx)

后端 未结 3 1839
野的像风
野的像风 2021-01-02 18:58

I have Nginx with Passenger. In nginx.conf I have line:

user pass users;

and Nginx process works on \'pass\' user, but Passenger* processe

3条回答
  •  甜味超标
    2021-01-02 19:18

    Put the following into your nginx.conf in the http block:

    passenger_default_user custom_username;
    passenger_default_group custom_group;
    

    You can find more configuration options here:

    http://modrails.com/documentation/Users%20guide%20Nginx.html#PassengerDefaultUser

提交回复
热议问题