search for: nginx

Displaying 20 results from an estimated 829 matches for "nginx".

2011 Mar 24
4
Remote-logging nginx? (or other non-syslog-enabled stuff)
I'm looking for suggestions as to a good general method of remote-logging services such as nginx or anything else which doesn't support syslog natively. I'm aware that there's an nginx patch, and we're evaluating this. It may be the way we fly. However there are other tools which may not have a patch for which remote logging would be useful. If there's a general soution...
2010 Feb 14
6
Nginx Sock And Rails Envinroment Error
Hi There, Im running an amazon instance with nginx proxying to a unicorn sock. For some reason, even though i specify the production environment, when being visited by nginx, the site shows errors in development form. Interestingly, when running on a port rather than a sock, if i visit that port, the errors are rendered as normal with a 500 page...
2013 Jun 20
6
File directive
Hi Everyone, Is it possible to use File directive only if some software is installed, otherwise do nothing? For example: file { "/tmp/puppet-nginx-init.sh": ensure => "present", owner => "root", group => "root", mode => 0755, source...
2014 Oct 29
3
Right way to install phpMyAdmin through Nginx and PHP-FPM
First I know this is not a list for PHP or Nginx setup or something else but I'll give it a try and ask here for support I'm running a new server with PHP 5.5.18 and Nginx 1.6.2 through FPM/FastCGI. The server is working fine since I have other websites running on it. Now I'm trying to configure phpMyAdmin and I tried this: * 1. *Cre...
2019 May 03
3
Permissions on nginx logs
Hi folks. Just wondering if I can change the ownership on the nginx logs folder so I can access them easier for analysis on a regular basis and cronjobs. /var/log/nginx is owned by nginx:nginx which shuts me out. Cheers, Bee
2013 Sep 24
5
Service refresh gets scheduled and swp files
...ith my puppet. *1*- When I change the config the service on the agent side implement the configuration change but the restart/reload gets scheduled and after 15 or 20 minutes it is executed, however the agent time to get conffig from server is 180 seconds. Followings are the logs *(/Stage[main]/Nginx/Service[nginx]) Triggered ''refresh'' from 2 events* *Finished catalog run in 1089.33 seconds* * * * * file {"/etc/nginx/": source => "puppet:///files/nginx/nginx/", recurse => true, ensure => "present", require => Package[''nginx...
2008 Feb 21
9
Difference between nginx and mongrel
Hi, I could never find out what''s the difference between nginx and mongrel. All my searches say "nginx is a HTTP server ..." and "Mongrel is a fast HTTP library and server for Ruby....". For me they both mean "...HTTP server...". I kept up with this question for some time till I came across this santence from the guys at Friend f...
2013 Sep 17
6
rspec-puppet require syntax
Can someone tell me the correct way to specify the following require statement in an rspec-puppet test? *require => [Class[''ssl''],Class[''pcre3''],Staging::Extract["nginx-${version}.tar.gz"]]* I tried this: *''require'' => "[Class[''ssl''],Class[''pcre3''],Staging::Extract[''nginx-1.4.1.tar.gz'']]"* but got the following error: *Failure/Error: ) * *expected that the catalogue would...
2016 Jun 02
2
nginx proxy to dovecot servers
I?m trying to understand how the nginx mail proxy and dovecot work. As a I understand it, nginx can listen on a IP:port for IMAP connections. NGINX then can invoke a PHP script to do authorization and backend server selection. Does NGINX than proxy to the backend dovecot IMAP server all subsequent IMAP commands that the user?s mail c...
2012 May 14
2
compare filebucket
Hello, Does anybody know how to compare a filebucketed file easily with the current file based on these infos? info: /Stage[main]/Nginx/File[/etc/nginx/nginx.conf]: Filebucketed /etc/nginx/nginx.conf to puppet with sum 90dbcd7cf0accf5d372d077a6c90020c remote: notice: /Stage[main]/Nginx/File[/etc/nginx/nginx.conf]/content: content changed ''{md5}90dbcd7cf0accf5d372d077a6c90020c'' to ''{md5}26e643361f26cdf7661...
2020 Apr 30
2
systemctl restart changes permission.
Hi, I am running CentOS Linux release 7.8.2003 (Core) with php72u-fpm-7.2.30-1.el7.ius.x86_64 version. I am facing the below permission denied issue. I also did the below steps #cd /run #chown -Rc nginx.nginx php-fpm changed ownership of ?php-fpm/php-fpm.pid? from root:root to nginx:nginx changed ownership of ?php-fpm? from root:root to nginx:nginx #systemctl restart php-fpm again changes it from nginx.nginx to root.root user. nginx error logs > 2020/04/30 03:09:28 [crit] 17175#0: *154570 con...
2011 Jul 11
6
Unicorn vs Apache
Hello all, I have always deploys rails apps with unicorn and nginx as a reverse proxy in the past. However, I am working with a new firm and they would like to use Apache with mod_pagespeed in front of unicorn. We will be deploying a rails 3.1 app with streaming. To me, mod_pagespeed does not seem like a magic bullet, as it appears to be a collection of best prac...
2006 Nov 01
8
Nginx, Mongrel, Proxy and REMOTE_ADDR
...a cluster of mongrels behind an apache 1.3 proxy pass. I''ve been passing the request to pen, which in turn balances the cluster of mongrels. Now, I''d like to be able to use a different server to send the static files created by the rails application, so I tried to replace pen with nginx. Everything seems to work fine except the environment variable REMOTE_ADDR. When I do a <%= request.env["REMOTE_ADDR"] %> with pen balancing, it sends in the proper (and expected) 192.168.1.21. When nginx is the balancer, the output becomes: 192.168.1.21, 127.0.0.1. the nginx pro...
2023 Aug 09
1
Upload files and folders to nginx web server from the browser
Hi, Is there a way to upload files to nginx webserver https://software.mydomain.com from the browser ? I have the below nginx config file. I am running nginx version: nginx/1.24.0 on CentOS Linux release 7.9.2009 (Core) # nginx -v nginx version: nginx/1.24.0 # cat /etc/redhat-release CentOS Linux release 7.9.2009 (Core) # *cat /etc/nginx/c...
2016 Jun 03
2
nginx proxy to dovecot servers
> btw, what is the reasong for NGINX proxy anyway? Since dovecot proxy can do this for you too. I want to do authentication using the IP that the IMAP client used to connect to the IMAP server. That is, I have 50 IPs, one for each state my users live in, so the users can only connect to the IMAP server using the domain name where the...
2009 Jul 21
2
Toward a simple Nginx configuration for Puppet Mongrel
Hi, I''ve created two Nginx patches (see at the end of this message) to allow a simpler Nginx configuration for your Mongrel puppetmasters. The two main issues with Nginx in front of puppet were: * no CRL support * no optional certificate verification (and thus we''re forced to have two separate configs on two...
2011 Mar 11
4
Alternatives to apache for php based servers: Nginx
Hi, Anyone here using Nginx as alternative to apache in conjunction to php scripts? Care to share thoughts and caveats? I am reading that it is a good alternative but do not know the real life limitations, diferences to apache, which repo to fetch etc. -------------- next part -------------- An HTML attachment was scrubbed....
2015 Jun 01
0
nginx conflicting server name ignored warning
Guys, I'm getting a strange warning whenever I do a config test or a restart of nginx 1.0.15 [root at aoadbld00032lb nginx]# nginx -t nginx: [warn] conflicting server name "aoadbld00032lb.company.com" on 0.0.0.0:80, ignored nginx: [warn] conflicting server name "logs.pcf.company.com" on 0.0.0.0:80, ignored nginx: the configuration file /etc/nginx/nginx.conf synt...
2006 Nov 13
2
mongrel upload progress and nginx
Does anyone know whether the mongrel upload progress plugin works with nginx? It works fine for my app under pound, but not with nginx. I am using DRb to handle the uploads as detailed at http://mongrel.rubyforge.org/docs/upload_progress.html . If I am using pound I can see the uploads with irb -r lib/upload_client.rb , but cannot if I am using nginx. Does anyone know a...
2012 Dec 10
2
puppet master REST API returns 403 when running under passenger works when running from command line
Hi! Everyone, puppet agent is not able to fetch any files, plugins or post catalog, reports to the master. both puppet agent and master are on version 3.0.l, passenger version 3.0.18 , nginx version: nginx/1.3.9 built by gcc 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC) TLS SNI support enabled configure arguments: --prefix=/apps/nginx --conf-path=/apps/nginx/nginx.conf --pid-path=/apps/nginx/run/nginx.pid --error-log-path=/apps/nginx/logs/error.log --http-log-path=/apps/nginx/logs/access....