<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: FreeBSD: Nginx Virtual Hosting Configuration</title> <atom:link href="http://www.cyberciti.biz/faq/freebsd-nginx-namebased-virtual-hosting-configuration/feed/" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/faq/freebsd-nginx-namebased-virtual-hosting-configuration/</link> <description>Every answer asks a more beautiful question.</description> <lastBuildDate>Fri, 10 Feb 2012 19:55:56 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: silpheed</title><link>http://www.cyberciti.biz/faq/freebsd-nginx-namebased-virtual-hosting-configuration/#comment-49055</link> <dc:creator>silpheed</dc:creator> <pubDate>Fri, 27 Aug 2010 03:31:41 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=2126#comment-49055</guid> <description>I&#039;m receiving the following failure when checking my configs;
# /usr/sbin/nginx -c /etc/nginx/nginx.conf -t
2010/08/26 22:30:29 [emerg] 5920#0: &quot;server&quot; directive is not allowed here in /etc/nginx/vhosts/blerg.com.conf:1
2010/08/26 22:30:29 [emerg] 5920#0: the configuration file /etc/nginx/nginx.conf test failed
Any suggestions?</description> <content:encoded><![CDATA[<p>I&#8217;m receiving the following failure when checking my configs;</p><p># /usr/sbin/nginx -c /etc/nginx/nginx.conf -t<br
/> 2010/08/26 22:30:29 [emerg] 5920#0: &#8220;server&#8221; directive is not allowed here in /etc/nginx/vhosts/blerg.com.conf:1<br
/> 2010/08/26 22:30:29 [emerg] 5920#0: the configuration file /etc/nginx/nginx.conf test failed</p><p>Any suggestions?</p> ]]></content:encoded> </item> <item><title>By: Vivek Gite</title><link>http://www.cyberciti.biz/faq/freebsd-nginx-namebased-virtual-hosting-configuration/#comment-41938</link> <dc:creator>Vivek Gite</dc:creator> <pubDate>Sat, 06 Jun 2009 10:43:54 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=2126#comment-41938</guid> <description>Naa, nginx main process controlled by root and worker process run as nginx user (run &lt;b&gt;pgrep -u ngixn nginx&lt;/b&gt; and &lt;b&gt;pgrep nginx&lt;/b&gt; to verify this) . This is NGINX architecture, there is not much you can do about it.</description> <content:encoded><![CDATA[<p>Naa, nginx main process controlled by root and worker process run as nginx user (run <b>pgrep -u ngixn nginx</b> and <b>pgrep nginx</b> to verify this) . This is NGINX architecture, there is not much you can do about it.</p> ]]></content:encoded> </item> <item><title>By: symbol</title><link>http://www.cyberciti.biz/faq/freebsd-nginx-namebased-virtual-hosting-configuration/#comment-41937</link> <dc:creator>symbol</dc:creator> <pubDate>Sat, 06 Jun 2009 09:15:51 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=2126#comment-41937</guid> <description>I was refering to the access log (the dir /websites/theos.in/logs is owned by theosftpuser and under theosftpgroup)
access_log  /websites/theos.in/logs/access.log  main;
I just tried this out n it seems nginx writes the access log but the created file is owned by root.  Could this lead to a potential security risk</description> <content:encoded><![CDATA[<p>I was refering to the access log (the dir /websites/theos.in/logs is owned by theosftpuser and under theosftpgroup)<br
/> access_log  /websites/theos.in/logs/access.log  main;<br
/> I just tried this out n it seems nginx writes the access log but the created file is owned by root.  Could this lead to a potential security risk</p> ]]></content:encoded> </item> <item><title>By: Vivek Gite</title><link>http://www.cyberciti.biz/faq/freebsd-nginx-namebased-virtual-hosting-configuration/#comment-41936</link> <dc:creator>Vivek Gite</dc:creator> <pubDate>Sat, 06 Jun 2009 08:36:32 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=2126#comment-41936</guid> <description>@symbol,
There is only one error log in above config which is owned by nginx user itself.</description> <content:encoded><![CDATA[<p>@symbol,</p><p>There is only one error log in above config which is owned by nginx user itself.</p> ]]></content:encoded> </item> <item><title>By: symbol</title><link>http://www.cyberciti.biz/faq/freebsd-nginx-namebased-virtual-hosting-configuration/#comment-41935</link> <dc:creator>symbol</dc:creator> <pubDate>Sat, 06 Jun 2009 08:33:16 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=2126#comment-41935</guid> <description>Since the vhost dirs are are owned by theosftpuser and under theosftpgroup wont nginx have a problem writing the access logs in there?</description> <content:encoded><![CDATA[<p>Since the vhost dirs are are owned by theosftpuser and under theosftpgroup wont nginx have a problem writing the access logs in there?</p> ]]></content:encoded> </item> <item><title>By: Pedram</title><link>http://www.cyberciti.biz/faq/freebsd-nginx-namebased-virtual-hosting-configuration/#comment-41382</link> <dc:creator>Pedram</dc:creator> <pubDate>Tue, 28 Apr 2009 23:25:49 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=2126#comment-41382</guid> <description>Your log format is completely wrong, Your missing the quotes on $request, thanx for creating 4 gigs of logs I now have to convert...</description> <content:encoded><![CDATA[<p>Your log format is completely wrong, Your missing the quotes on $request, thanx for creating 4 gigs of logs I now have to convert&#8230;</p> ]]></content:encoded> </item> </channel> </rss>
