1
vote
0answers
20 views

periodic connection timeouts to nginx server

We have the following setup: One nginx server as a loadbalancer in front of four worker application servers. The nginx server get about 100 requests per second, sometimes more that that, active ...
0
votes
0answers
35 views

phpmyadmin / nginx : unable to log in

I'm setting up a server with Debian 7.6 I have installed nginx, mysql, php-fpm with apt-get (from dotdeb) The basic setup is working fine, but I want to have things running separately in chrooted ...
1
vote
0answers
162 views

Munin dynamic graph zoom (dynazoom) not working (Nginx, PHP-FPM)

Debian 7.5 Nginx/1.6.0 PHP 5.6.0RC2 (fpm-fcgi) (built: Jul 11 2014 08:17:52) Munin v2.0.21-2 I been searching all over the net for a few days for answers to my problem but it seems like no one knows ...
0
votes
0answers
26 views

Debian wheezy TKL (Turnkey Linux) missing php5-fpm conf

I have used a TKL AMI on an EC2 instance to quickly create a NGINX / PHP box. Details of the image are on the Amazon marketplace. It mostly works just as I'd expect it to except for a small caveat - ...
-1
votes
1answer
46 views

Installing nginx + php-fpm - got Not found

I install nginx and php-fpm on new machine. But when i open my domain, i got an 404 Not Found. (static files accessible). File: /etc/nginx/sites-available/elfchat.net server { ...
0
votes
1answer
79 views

Inconsistent behavior with Nginx's auth_request_set and more_set_input_headers

I'm trying to use the auth_request module in conjunction with the more_set_input_headers to automatically login my users into web apps. Basically, it works like this: Users have some session cookie ...
0
votes
0answers
21 views

How to remove malware from Debian server? [duplicate]

We have one Debian server that is affected by a malware. It's adding some code to the .htaccess files in /var/www directory where all sites are stored. Here's the malicious code: RewriteEngine on ...
0
votes
2answers
39 views

NGINX pretty urls: No input file specified

I've been struggling with a NGINX configuration. I've set up a development environment (local laptop) with a configuration supporting search engine friendly (SEF) urls, but the same configuration ...
0
votes
0answers
103 views

install nginx always gives me SSL_OP_MSIE_SSLV2_RSA_PADDING error

My goal is to install nginx with RTMP module on my Debian server Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.51-1 x86_64) I try to install it from source as described in many tutorials: ...
0
votes
0answers
63 views

Remove old logrotate entries

Recently I have removed nginx on my server running Debian Linux and since then, I keep getting the following email every day: root@server:~# tail /var/mail/root Content-Type: text/plain; ...
-1
votes
2answers
397 views

PhpMyAdmin 500 Internal Server Error on Nginx/php5-fpm/Debian

I downloaded PhpMyAdmin a while ago and am having a hard time getting it to work. Requesting localhost/phpmyadmin gives a 500 Internal Server Error response, but there's nothing in the error log. ...
1
vote
0answers
25 views

nginx proxy_pass directive acting up on OSX?

I have the following lines in my nginx.conf on my Mac: location /addPat { resolver 8.8.8.8; proxy_pass http://some_url:8080$request_uri; proxy_http_version ...
-1
votes
2answers
113 views

URL Shortener & Site Redirection on same domain

i have one domain(http://sdm.fm), And I would like it to work as a redirect to http://somdomato.com. But at the same time I would like it to work as a URL shortener. Using phURL. Like: ...
0
votes
1answer
42 views

rewrite rule on location in nginx

When I write the location in, it works, when I use the same location as a rewrite rule, it doesnt!!! I dont understand the logic. Can someone please explain? location /v3/ { alias ...
1
vote
1answer
111 views

Low throughput on Debian + nginx/apache

On the same LAN/WAN I have a Windows server 2012 server running IIS 7.5 and a Debian (wheezy) server running Nginx 1.4.5. Both servers are connected to the same LAN/WAN. When I download a 10mb file ...
0
votes
0answers
84 views

Server configuration for deploying node.js with Nginx

I was experimenting with Node.js recently and would like to make use of the concurrency feature. I am using Nginx for proxy and load balancing, and MongoDB for database. There are a few questions i ...
1
vote
1answer
136 views

Nginx: it takes too long to establish a ssl connection

I have a nginx set up with ssl certifivate. Recently I noticed, that establishing connection to that server sometimes takes way too long (8+ seconds). In chrome developer tools I can see, that all of ...
0
votes
1answer
119 views

Uwsgi configuration - No module called site

I am trying to get uwsgi working in combination with nginx for a flask application. This is UWSGI ini file: [uwsgi] socket = 127.0.0.1:8001 processes = 4 module = run:manager virtualenv = ...
0
votes
1answer
68 views

Installing nginx on debian - sites-enabled

I was under the impression that installing nginx on debian would create for me these two directories: /etc/nginx/sites-available/ /etc/nginx/sites-enabled/ Is it right that these are not created ...
1
vote
0answers
134 views

nginx-extras ok for production server?

I need the upload progress extension on my production server running Nginx, the only problem is that to do that I must actually recompile the whole of Nginx. This means uninstalling the repo Nginx, ...
0
votes
0answers
130 views

Chroot master process Nginx 1.2.1

I want to install nginx not current stable version but in one currently deposits, and chroot the process. I followed some tutorials including: Securing Debian Manual Appendix H - Chroot environment ...
0
votes
0answers
83 views

php.ini changes doesn't apply in virtualmin nginx

I can't make changes to php.ini in virtualmin-nginx for mysite.com. phpinfo() says: Loaded Configuration File /home/mysite/etc/php5/php.ini So, I edited the file /home/mysite/etc/php5/php.ini ...
-1
votes
1answer
74 views

Will rm delete files currently being accessed by web-client?

My web-service running on nginx and php deliver's files using X-Accel-Redirect header to the client, if I use rm /my/folder/*.* how will it handle files currently being accessed/downloaded by clients? ...
0
votes
2answers
72 views

Setting UWSGI to run a module in a venv

I am having a hard time trying to run a module from UWSGI. This is part of my deployment code: # ENVIRONMENT /usr/bin/pip install virtualenv mkdir -p /srv/www/test /usr/local/bin/virtualenv ...
0
votes
2answers
85 views

nginx displays wrong document roots (Virtualmin)

I recently set up Virtualmin on a clean Debian7-32bit VPS. I decided to go with nginx instead of Apache. Virtualmin sets up separate config files for each "virtual host", which I guess is fine. I ...
-1
votes
1answer
78 views

HTTP 301 moved for all nginx URL to a single HTTPS

Below is a config file that I am using with Nginx to redirect all WWW and non-WWW to the https:/domain.com URL server { listen 80 443; server_name domain.com www.domain.com; ...
0
votes
2answers
341 views

/etc/init.d/nginx not executable

I searched on the internet for a while now and I don't find a solution so I am asking here: My question is, why is this file (/etc/init.d/nginx) not executeable? I was following the tutorial of Alex ...
2
votes
1answer
286 views

nginx doesn't work after reinstall?

I really have no clue at all where to start looking for an answer to this: I followed the instructions here to set up nginx and passenger for debian. (sudo apt-get nginx-extras passenger) Everything ...
0
votes
1answer
431 views

Debian 7 NGINX OwnCloud - move data-folder to NFS-mount permission problems?

Case: Debian 7.1.0 server running nginx 1.2.1, hosting OwnCloud 5.0.13 OwnCloud default installed in /var/www/owncloud Files uploaded to owncloud reside in /var/www/owncloud/data However, diskspace is ...
0
votes
1answer
119 views

Adding modules to nginx-light (Debian / dotdeb)

http://packages.debian.org/testing/nginx-light http://packages.debian.org/testing/nginx-full Can I add modules to nginx-light installation that would only be available in nginx-full without ...
0
votes
0answers
77 views

Nginx 1.4 on Debian 7 via apt-get

I cannot for the life of my figure out how to install nginx 1.4 via apt-get on a Debian 7 linode. I added the following to /etc/apt/source.list: deb http://nginx.org/packages/debian/ squeeze nginx ...
1
vote
0answers
76 views

nginx - php5-fpm - woocommerce => settings dont save - only after restart of php5-fpm

We are unable to save settings in woocommerce when php5-fpm is running for more then 12 hours. Sometimes the changes are reflected in the DB but then don't show in the backend, other times the ...
1
vote
1answer
277 views

How to add nginx file upload module to Debian Squeeze?

I need to use nginx upload module in my Debian Squeeze server. I already have installed nginx and nginx-extras. the nginx version is 1.4.2. From the package description of nginx-extras, it seems that ...
0
votes
2answers
154 views

nginx or kernel queueing traffic

We have a setup that looks like this: nginx->haproxy->app servers We are terminating SSL with nginx and it sits in front of everything. During our peak load times, we are experiencing about a 2x ...
0
votes
1answer
1k views

nginx on Ubuntu: Permission denied

I am new to system administration. After installing nginx via puppet on Ubuntu I get the following output: [alert] could not open error log file: open() "/var/log/nginx/error.log" failed (13: ...
2
votes
1answer
2k views

Nginx startup fails ssl no such file or directory

Here is the error I'm getting: Reloading nginx configuration: nginx: [emerg] SSL_CTX_use_certificate_chain_file("/path/to/cert.pem") failed (SSL: error:02001002:system library:fopen:No such ...
1
vote
2answers
963 views

Nginx and openSSL conf to use newest TLS protocols

Since few weeks, my webserver, Niginx, had a problem with TLS protocols version 1.1 & 1.2 : When an user try to connect to my website, web browser and Nginx chose only TLS 1.0 for the conection. ...
1
vote
1answer
819 views

Unable to load configuration from uwsgi

Since yesterday I have been wrestling with this problem: unable to load configuration from uwsgi When I google it, nothing comes up. I am trying to run UWSGI under nginx with a very simple uwsgi.ini ...
0
votes
1answer
54 views

How can I force a certain page to be non-SSL on nginx?

I'm looking to have a certain page, example.php, redirect to the non-SSL version if it is accessed via SSL. What type of rewrites should I be looking at?
1
vote
1answer
264 views

NGINX One Domain - Several webservers on internal IP

I have a case I am not sure how to manage and would like some advice. Current: One domain-name - one external ip. One already working Debian Server with NGINX for hosting webpages. So, as it is ...
0
votes
1answer
378 views

nginx 502 Bad Gateway on every external site

I just installed nginx and followed the guides on the official site, to set it up with php5-fpm, but it just won't work. Not even the default site, without php is working outside of my server. Tried ...
0
votes
1answer
88 views

Debian upgrade Nginx from source

I've installed Nginx 1.2.1 from apt-get install in my Debian 7 instance (Google Compute Engine). In order to install Pagespeed mod for Nginx, I will need to compile Nginx from the source code to add ...
1
vote
2answers
1k views

GitLab & nginx: 502

I've installed GitLab, following the given official instruction, but I'm getting 502 error when trying to use it. Nginx log entry: *30 upstream prematurely closed connection while reading response ...
0
votes
0answers
279 views

Nginx, Django, Gunicorn work slow in specific situations

My problem is that when I log on to my application via facebook, or send an email it takes a very long time ( about 1-2 minutes ). In other situations site is reacting almost instantly. My application ...
0
votes
0answers
74 views

Nginx/fastcgi using old php.ini

I'm having problems with debian + nginx + fastcgi + php setup. For some reason when I update my php.ini (/etc/php5/cgi/php.ini) the settings don't get updated. I checked phpinfo() and it says it's ...
-1
votes
2answers
161 views

Why is Nginx + Passenger on Debian 7.0 1.6 times slower then on Debian 6.0? [closed]

I have 2 similar VPS (1 core, 512 MB RAM, SSD hard drive). I've installed Debain 7.0 x64 to one of them and Debian 6.0 x64 to another one. Both installations have 512 MB swap file. I've installed to ...
0
votes
2answers
59 views

nginx server block not being picked up

I have nginx running on Raspbian and I'm trying to add another server block alongside the default one. I have two files default and blog.mydomain.com where mydomain is obviously my own domain. In the ...
2
votes
1answer
191 views

How do I lock down nginx on debian wheezy (running systemd)?

The systemd unit file that comes with the nginx-common package runs the master process as root, which makes me nervous. I assume the only reason it runs as root is to bind port 80, but being root is ...
4
votes
3answers
814 views

Creating a fallback error page for nginx when root directory does not exist

I have set up an any-domain config on my nginx server - to reduce the amount of work needed when I open a new site/domain. This config allows me to simply create a folder in /usr/share/nginx/sites/ ...
-1
votes
2answers
264 views

Can't install Nginx on Wheezy

I'm trying to install nginx on wheezy using this code in my deployment script: echo "deb http://nginx.org/packages/debian/ wheezy nginx" | sudo tee -a /etc/apt/sources.list echo "deb-src ...