Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
SMS Forum Index » SMS User Support

Post new topic   Reply to topic
ngnix config
View previous topic :: View next topic  
Author Message
baboo
Senior Member


Joined: 04 Sep 2007
Posts: 676

PostPosted: Wed Nov 24, 2010 7:52 pm    Post subject: ngnix config Reply with quote

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
View user's profile Send private message
baboo
Senior Member


Joined: 04 Sep 2007
Posts: 676

PostPosted: Wed Nov 24, 2010 8:14 pm    Post subject: Reply with quote

also: did you compile support for https/ssl?
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Wed Nov 24, 2010 9:01 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
baboo
Senior Member


Joined: 04 Sep 2007
Posts: 676

PostPosted: Wed Nov 24, 2010 9:59 pm    Post subject: Reply with quote

thanks. That makes it easier. Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SMS Forum Index » SMS User Support All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

SMS - Superb! Mini Server Project © 2016
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional