0
votes
0answers
32 views

Failed to install Nginx from nginx.org, Debian apt preferences messed up?

I'm trying to install Nginx from the latest release on nginx.org However, the latest package is not picked up: $ apt-get install nginx Reading package lists... Done Building dependency tree ...
0
votes
1answer
53 views

Can't open ports to ouside

I need to open my webserver to internet. I have no idea whats wrong with my config but no ports opened to internet, and server does not respond to ping. I have debian squeeze webserver with following ...
-1
votes
1answer
31 views

Take some action when errors occur with nginx

I have a nginx/1.2.1 on Debian 7.0 x64 and i want to take some action when some error occurs, something like send mail to me. I found on the web ways to monitor files and take some action when they ...
-4
votes
3answers
64 views

cronjob or similar to open a local php file including query [closed]

How do I open the following file with cronjob correctly every 5 minutes: /var/www/mysite/folder/foo.php?query=1 I tried myself but i just did not get it working... i tried with /usr/share/php5 , ...
1
vote
0answers
30 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
126 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
571 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
52 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
86 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
124 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
2answers
56 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
108 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
107 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
975 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
29 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
209 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
45 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
133 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
118 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
186 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
292 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
77 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
253 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
236 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
132 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
84 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
91 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
107 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
103 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
523 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
382 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
523 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
139 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
95 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
85 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
303 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
175 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
2k 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
1k 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
1k 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
62 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
314 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
484 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
93 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
323 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
80 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
165 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
62 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 ...