Questions relating to Nginx, an open source Web Server and reverse proxy server.

learn more… | top users | synonyms

3
votes
0answers
2k views

How do I fix “chdir(): No such file or directory [uwsgi.c line 1723]” on in wsgi on nginx?

I have treeio project in my home directory, now I want to run that treeio in nginx server. Already treeio can independently run on Django comes with the source. I don't want to run that in Django ...
2
votes
0answers
588 views

Why rewrite directive causes “301 Moved Permanently” with Nginx?

Below is a much simplified version of what I have in the configuration file of a server run by Nginx 1.2.5, yet it causes 301 Moved Permanently with Location: http://example.com/phpmyadmin/ before ...
1
vote
0answers
23 views

How do I fix/undo sudo aptitude safe-upgrade

So I'm fighting with NodeBB -- and found that nginx was advised. However I thought I needed the most updated version (when in fact 1.4.x is recommended). I couldn't get the rerouting working on 1.8 ...
1
vote
0answers
18 views

Is there a ppa for nginx mainline with pagespeed?

I could only find a couple for the stable branch of nginx
1
vote
0answers
69 views

Laravel CLI cUrl Error on Ubuntu 14.04.3 LTS

I have already installed the nginx, MySQL, HHVM and Composer, everything is working, so I installed the Laravel CLI to run laravel new blog from the terminal but when I run it i get this error: ...
1
vote
0answers
173 views

Not able to install nginx?

I was able to install nginx's latest stable version (1.8.0) on my ubuntu 14.04 LTS desktop PC, by using following commands. sudo add-apt-repository ppa:nginx/stable sudo apt-get update sudo apt-get ...
1
vote
0answers
206 views

why can't completely remove ro say uninstall nginx?

apt-get --purge remove nginx Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer ...
1
vote
0answers
101 views

Nginx restarts when told to stop

I'm using AWS and have a setup script that runs after EC2 instance creation. It installs a bunch of packages, writes some config files, etc. It's been working well for a while. Now, nginx fails to ...
1
vote
0answers
56 views

Unable to run apt-get update openssl on 12.04

I am trying to run sudo apt-get update openssl on Ubuntu Server 12.04, however when I do, I get the following error: Starting nginx: invoke-rc.d: initscript nginx, action "start" failed. dpkg: error ...
1
vote
0answers
53 views

BIND configured, DNS configured. No joy!

I have a GoDaddy domain, I've adding host names (ns1, ns2 of the domain through GD), I've pointed the name servers to my VPS server IP. So we are ok so far, great. I've resorted to install VestaCP on ...
1
vote
0answers
311 views

dependency issue while installing phpmyadmin on nginx webserver

I tried to find a solution for this problem for a long time but I cannot find it. Maybe you can help me. I have Ubuntu 14.04 installed on my system and want to use it for web development using nginx. ...
1
vote
0answers
392 views

Server slow after Nginx errors and restarting PHP

I have a server with Intel Xeon 2xE5520 2.27GHz, 48 GB Ram, 2x146 GB 15K HDD (Raid) OS Ubuntu 14.04.01, Nginx 1.6.2, PHP 5.5.9, MySQL. Webmin. My website is video portal. Traffic is approximately ...
1
vote
0answers
176 views

Why doesn't lsof show localhost TCP connections in 14.04?

I have two servers running 12.04.4 and 14.04.1 respectively. Both have nginx (port 80) and a Java process (port 8080). As expected, the lsof output for the Java process (sudo lsof -nP -p $PID) on ...
1
vote
0answers
525 views

Can't configure NGINX to cache the images

I have been trying to cache images that are stored in nginx server, I am quite new here and to nginx I have installed it and configure it with php5-fpm, I have been reading many tutorial regarding ...
1
vote
0answers
56 views

Make a Ubuntu Server ready for takeoff as a webserver

What are the necessary steps to make an ubuntu server ready for productive operation as a webserver? I've assumed that the server distro of ubuntu doesn't have to be further tweaked to make it ready ...
1
vote
0answers
300 views

Nginx processes have disappeared - why?

I've been following the arts technica web served series which has been great at teaching me how to get an Nginx server established on a fresh Ubuntu 12.04 server. I'm having a few problems however. ...
1
vote
0answers
884 views

nginx with hhvm - Not found

I'v set up nginx with hhvm but, any file .php returns me "Not found" except index.php that returns me Running on HHVM version 2.3.2. Some of my configurations /etc/nginx/sites-enable/default ...
0
votes
0answers
8 views

How to configure rails+nginx with RAILS_ENV = development in Ubuntu?

I am using Ubuntu Server 14.04.3. I would set up the rails with development env along with nginx to simulate a production env, but whenever I set can not access the project. When I use with the env ...
0
votes
0answers
19 views

Trying to upload Previously made Larav4 website on Nginx Digital Ocean Ubuntu 14.04 returning 404 page not found

I am migrating my Laravel4 based app to Digital Ocean . So I created a folder in /var/www/ideconnect.com/html/ and pasted my app code in the folder so now when I do www.ideportal.com/public/ it ...
0
votes
0answers
28 views

Apache 403 Error

I have bough a dedicated server from soyoustart a company owned by ovh. I have a 32 Gb ram server, anyways. I don't know how to fix the apache 403 glitch. I do: apt-get update apt-get install ...
0
votes
0answers
43 views

Jetty8 doesn't start

I'm trying to setup nginx with jetty, but seems like my jetty8 doesn't start and I don't know why: >sudo service jetty8 start >service --status-all ... [ - ] jetty8 ... I have already ...
0
votes
0answers
34 views

cannot change php and mysql/percona to use utf-8

Ubuntu 14.04 amd64 What I had done: Set as below in php.ini, restart php5-fpm default_charset = "UTF-8" Set as below under http section of nginx.conf, restart nginx charset utf-8 Set below ...
0
votes
0answers
18 views

Web Server behind routed OpenVPN tunnel

In an attempt to serve an nginx vhost from one particular remote IP address, using an OpenVPN server as a router, I am trying tunnel web traffic, like so: Internet ---- OpenVPN Router Server ...
0
votes
0answers
11 views

Unable to use tmpfs files in website

I have uploaded files in tmpfs by following command: cp -af /var/www/html/assets/js/plugins.js /dev/shm I verified it using : df -h /dev/shm But how can I use this file in my website? When I ...
0
votes
0answers
27 views

Dealing with php extensions - nginx and php-fpm

I had installed nginx php-fpm and mariadb, everything looks fine except I have some troubles with 2 extensions: php cannot find phalcon a web framework and json. so i tried to locate those: locate ...
0
votes
0answers
47 views

can't remove nginx

I have recently upgraded my virtual machine from Ubuntu 15.04 to Ubuntu 15.10. Previously I was running an Apache2 web server with PHP and MySQL installed. Now when I access localhost, or the IP ...
0
votes
0answers
77 views

nginx configuration to serve index.html on root and allow flask API at server side only

I've been trying since a few days to properly configure nginx and flask, with poor success could you please debrief? First time I deploy my first flask app on EC2 My goal: expose the APIs to the end ...
0
votes
0answers
38 views

Getting better SSL protocol support for my Nginx load-balancer?

How can I improve my SSL protocol support for my Nginx load-balancer? Here is how it looks now: server { listen 80; server_name my-site.com; return 301 https://my-site.com$request_uri; } ...
0
votes
0answers
20 views

Some SSL web sites stop responding, while others continue to function

Does anyone have ideas on how to debug my problem. I have sites that are using dedicated IPs with secure certificates from comodo, and other sites using startssl certificates. Under unknown ...
0
votes
0answers
355 views

nginx + php-fpm high load - Warning pool www seems to be busy

I'm getting this messages: [26-Oct-2015 21:45:07] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 16 children, there are 97 idle, and ...
0
votes
0answers
30 views

How can I use memcache or install it?

I already install memcached, but my project must use memcache. I don't know how to install or use it for nginx server. Please anyone help me.
0
votes
0answers
127 views

PHP Warning: Module 'geoip' already loaded in Unknown on line 0

I get the following email every 30 mins: This message was created automatically by mail delivery software. A message that you sent could not be delivered to one or more of its recipients. ...
0
votes
0answers
115 views

Nginx autostart on Docker (ubuntu:trusty image)

I have installed nginx to Docker container (container from ubuntu:trusty image). And every time when I call docker stop nginx and after docker start nginx, my nginx server in shut down state. How ...
0
votes
0answers
241 views

Error log: upstream timed out (110: Connection timed out) on Nginx

Please... I need help!!! My script don't works! My script in php only load for serveral time and afterwords appears that message: An error occurred. Sorry, the page you are looking for is ...
0
votes
0answers
21 views

Issue with Ubuntu-Desktop on Ubuntu Server 14.04 LTS

Background: 4 Core AMD Phenom II 8 GB Ram Ubuntu Server 14.04 LTS with LEMP Issue: I installed ubuntu-desktop: sudo apt-get install ubuntu-desktop And when I rebooted all I am seeing is a blank ...
0
votes
0answers
36 views

what should folder permissions be for nginx?

I have a server I am trying to update / migrate to nginx. I have nginx, installed and things were accessible, but sub folders were inaccessible. so then I tried to change permissions to 744 but now ...
0
votes
0answers
25 views

HDD Full Causing Server to Show 404 Not Found?

Here is my situation root@nalsec:~# df -h Filesystem Size Used Avail Use% Mounted on rootfs 20G 19G 0 100% / /dev/root 20G 19G 0 100% / devtmpfs 16G 0 ...
0
votes
0answers
189 views

Upgraded nginx from 1.4.6 to 1.8.0 localhost/phpmyadmin not working

I Tried many times to upgrade Nginx 1.4.6 to the latest version but no success. After the upgrade everything else is working but no local access to phpmyadmin it showing; 404 Not Found Nginx 1.8.0 I ...
0
votes
0answers
165 views

$_SERVER['REMOTE_ADDR'] with NGNIX powered by Vesta on a Ubuntu Server

Here is my test.php <?php echo $_SERVER['REMOTE_ADDR']; ?> The IP displayed is the IP from the server, not from my visitor. Configuration: Vesta Control Panel which use NGINX default ...
0
votes
0answers
13 views

What is typically evolve in setting up an Ubuntu server to be able to send information from a form through an email

I recently moved from a shared hosting to a self managed server, in the share server I had a contact form that was working find but when I tried to use this form in my new self-managed server it ...
0
votes
0answers
207 views

Nginx not loading css/js/images in https - Blocked loading mixed active content

I am running ubuntu 14.04 with Nginx 1.8.0. While opening the web pages in https the pages appear to be broken as the css/js/images don't load. I get this error "Blocked loading mixed active content" ...
0
votes
0answers
37 views

Slow server with normal resource usage

My server is almost dead. I have following configurations: nginx - updated settings to avoid slow-loris. limited requests per client, limit connections per ip UFW - closed all the ports except ssh ...
0
votes
0answers
41 views

Server Not Allowing acunetix Crawler

My server is not allowing acunetix to run on it. acunetix is showing an error Sever unexpectedly closed the connection. I am running Drupal on a LEMP stack I am looking forward to see ...
0
votes
0answers
45 views

Migrating Apache to Nginx problem

Ubuntu 12.04, I am trying to migrate to Nginx but i´m getting a 403 Forbidden message. Can anyone help me? This is my /etc/nginx/sites-available/default server { listen 80; root /srv/www; ...
0
votes
0answers
292 views

NGINX Auth support and MYSQL

I have installed NGINX server. The requirement is to allow only certain IP addresses to access this service. The list of allowed IP are stored in a MYSQL database. I was able to install and configure ...
0
votes
0answers
159 views

How to setup oauth proxy on nginx

I am trying to setup oauth proxy on nginx using this https://github.com/bitly/oauth2_proxy I don't seem to get it right please can someone help me? Thanks,
0
votes
0answers
97 views

Mysql not installing on server and throwing error after root user password entry

I currently have a server on Digital Ocean running their standard Rails application (Nginx, Unicorn, Postgres, Ubuntu 14.04). When I try installing mysql with apt-get install mysql-server It seems to ...
0
votes
0answers
99 views

Server at OVH (Ubuntu 14:010) work on SSH and HTTP ONLY from my cellphone(4g)

Hope you'Re all going good. So yeah this is alittle problem i have with the VPS i took at OVH. They say everything is fine in their end. But i managed to install nginx on the server and even then ...
0
votes
0answers
990 views

Nginx add_header Access-Control-Allow-Origin * which File?

I am using Plesk 12 and could not find where to add that line location ~ \.(ttf|ttc|otf|eot|woff|woff2|font.css|css|js)$ { add_header Access-Control-Allow-Origin "*"; } Would be happy for ...
0
votes
0answers
179 views

APC Extension unable to load dynamic library /usr/lib/php5/20090626/apcu.so

I have installed APC using this Tutorial https://www.23systems.net/2009/07/installing-alterative-php-cache-apc-with-plesk-on-ubuntu/ and all is running fine. Even APC is caching everything and apc.php ...