You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running nginx-vhosts I run into permission issues:
{[Error: Commandfailed: /bin/sh-cnginx-sreloadnginx: [alert]couldnotopenerrorlogfile: open()"/var/log/nginx/error.log"failed(13: Permissiondenied)2015/06/1820:49:20[notice]20500#0: signalprocessstarted2015/06/1820:49:20[alert]20500#0: kill(11831,1)failed(1: Operationnotpermitted)]killed: false,code: 1,signal: null,cmd: '/bin/sh -c nginx -s reload'}'''nginx: [alert] could not open error log file: open() "/var/log/nginx/error.log" failed (13: Permission denied)\n2015/06/18 20:49:20 [notice] 20500#0: signal process started\n2015/06/18 20:49:20 [alert] 20500#0: kill(11831, 1) failed (1: Operation not permitted)\n'
I had the same problem writing to the conf.d folder
first problem: writeaccessto/etc/nginx/conf.d/{[Error: EACCES,open'/etc/nginx/conf.d/test.conf']errno: -13,code: 'EACCES',path: '/etc/nginx/conf.d/test.conf'}undefinedundefined
but I temporarily solved this by chmodding it to 777. This could also be my lack of knowledge on how to provide Nodejs with sudo capabilities, but how can I run nginx-vhost without running into these issues?
The text was updated successfully, but these errors were encountered:
When running nginx-vhosts I run into permission issues:
I had the same problem writing to the conf.d folder
but I temporarily solved this by chmodding it to 777. This could also be my lack of knowledge on how to provide Nodejs with sudo capabilities, but how can I run nginx-vhost without running into these issues?
The text was updated successfully, but these errors were encountered: