View previous topic :: View next topic |
Author |
Message |
baboo Senior Member
Joined: 04 Sep 2007 Posts: 676
|
Posted: Wed Nov 24, 2010 7:52 pm Post subject: ngnix config |
|
|
Looking at your nginx package, it appears you have the user as nobody and root:root after install owns it.
nginx docs say the user should be nginx and nginx:nginx. Could you explain a little how you expect this to be configured?
Should I change the owner and group? Just looking for a little insight into what you had in mind. |
|
Back to top |
|
baboo Senior Member
Joined: 04 Sep 2007 Posts: 676
|
Posted: Wed Nov 24, 2010 8:14 pm Post subject: |
|
|
also: did you compile support for https/ssl? |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Wed Nov 24, 2010 9:01 pm Post subject: |
|
|
I compile nginx with a similar slackbuild from slackbuilds.org
Code: | ./configure \
--prefix=/usr \
--sbin-path=/usr/sbin/nginx \
--conf-path=/etc/nginx/nginx.conf \
--error-log-path=/var/log/nginx_error.log \
--pid-path=/var/run/nginx.pid \
--lock-path=/var/lock/nginx \
--user=nobody \
--group=nobody \
--with-http_ssl_module \
--with-http_realip_module \
--with-http_addition_module \
--with-http_sub_module \
--with-http_dav_module \
--with-http_flv_module \
--with-http_gzip_static_module \
--with-http_stub_status_module \
--http-log-path=/var/log/nginx_access.log \
--http-client-body-temp-path=/var/spool/nginx_client_body_temp \
--http-proxy-temp-path=/var/spool/nginx_proxy_temp \
--http-fastcgi-temp-path=/dev/shm \
--without-mail_pop3_module \
--without-mail_imap_module \
--without-mail_smtp_module \
--with-debug |
User nobody is fine, you can use a new user if you like, but it's not necessary.
You can uncomment
#user nobody;
in /etc/ngnix/nginx.conf.
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
baboo Senior Member
Joined: 04 Sep 2007 Posts: 676
|
Posted: Wed Nov 24, 2010 9:59 pm Post subject: |
|
|
thanks. That makes it easier. |
|
Back to top |
|
|