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

learn more… | top users | synonyms

0
votes
0answers
20 views

Nginx installation error in Ubuntu 16.04

:~$ sudo apt-get remove nginx* && sudo apt-get install nginx-full* Reading package lists... Done Building dependency tree Reading state information... Done After this operation, 5,579 kB of ...
0
votes
1answer
11 views

nginx start (question about how to cope with linux reference manuals)

Ubuntu 14.04 Could you help me understand what does this difference mean. I'm trying to cast a look at nginx (a web-server). I would like to start it. It starts automatically, but I have stopped it. ...
0
votes
0answers
9 views

Open Build System error, nothing provides dh-systemd(>=1.5) in Ubuntu 16.04 repository

I am trying to build a custom nginx package for Ubuntu 16.04 [link to my project]. I created my gpg signed files to be uploaded using the command Code: debuild -S -sa -k'mygpgkey' and uploaded ...
0
votes
0answers
22 views

cannot change open file limit

On ubuntu 14.04 production web server, I set as below: /etc/security/limits.conf * soft nproc 65535 * hard nproc 65535 * soft nofile 65535 * hard nofile 65535 /etc/pam.d/common-session session ...
1
vote
1answer
134 views

Ubuntu 16.04 LTS, ZFS, SWRAID and mentoring inquiries

It's been awhile since I have posted in this Ubuntu forums site and now I’m utilizing the mailing list. I also tried to check reddit and after reading the FAQ there, this site is the way to go. I am ...
0
votes
0answers
10 views

How to run Multiple Magento2 setup with Nginx

I want to configure multiple Magento2 setup (like 3 setups) with single domain name. like.. If I browser the URL as below then it should load separate directory based on Nginx request. ...
-5
votes
0answers
15 views

how to configure lemp server on debian [closed]

I have debian machine version of 3.16.4.I tried to configure lemp (nginx) web server.while I typed localhost on url got nginx webpage.After that I have finished configuration and restart the service ...
0
votes
0answers
17 views

Trouble using pimcore on LEMP stack

I was able to install pimcore on a LEMP server with php5.6 and ubuntu 15.10 wily. The php packages installed according to the official system requirements on the pimcore website. After installing ...
0
votes
0answers
8 views

.htaccess on Ubuntu 14.04 x64 + VestCp Nginx

Hello everyone I have some issues. I have a Ubuntu 14.04 x64 server with VestCp on it and I added a site that have this .htaccess RewriteEngine On RewriteRule ^news/([^/]*)/$ /news.php?news-url=$1 ...
0
votes
0answers
31 views

info.php is downloading instead of loading in browser [duplicate]

I have installed nginx server with php7 following this tutorial on tecadmin - but when I type localhost/info.php on the browser, it start to download the file instead of showing the page. What can ...
0
votes
2answers
5k views

How to setup SendMail with nginx

I have a Ubuntu server with nginx I have installed sendmail on it by running apt-get install sendmail I was also able to sendmail using sendmail <my_email_address> hello . the mail I ...
1
vote
1answer
4k views

Not able to install nginx on ubuntu 14.04

I keep getting this error while installing nginx on 14.04 sudo apt-get install nginx [sudo] password for : Reading package lists... Done Building dependency tree Reading state information... ...
0
votes
1answer
416 views

How to install php 7 to run beside php 5 on ubuntu with nginx

I want to try php 7 and get my site working on php 7 in the same time keeping other sites working on php 5 just in case. so that from the domain virtual host config I can decide which php to run. I ...
0
votes
1answer
2k views

Port 80 connection refused

i can not connect to port 80 on my webserver. my iptables are in the default state: Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ...
1
vote
1answer
2k views

Localhost always show Welcome to nginx!

I was working fine on my projects. After restarting my machine, I tried to access a local project and I get the message "Welcome to nginx!" even if I want to open phpmyadmin. What is the problem and ...
2
votes
2answers
9k views

Unable to get error stack trace or error log while using php-fpm + nginx on Ubuntu 14.04

I am using php-fpm 5.5.9 along with nginx 1.4.6 on my Ubuntu 14.04 machine. I have installed them using apt-get package manager. I am unable to get a stack trace of the error that my index.php script ...
0
votes
1answer
17 views

Ubuntu on MS Azure - how to setup nginx

I created new VM with Ubuntu 14.04 and I'd like to setup nginx on it. I installed nginx via putty ssh connection: sudo apt-get update sudo apt-get install nginx sudo ufw allow 80 However, when I ...
0
votes
1answer
1k views

FATAL: Module rtc not found

Upstart gives "unknown job" error when I try to start the server with $ start <my-app-name>. I found this in the logs: z@ubuntu:/var/log/upstart$ sudo zcat module-init-tools.log.1.gz FATAL: ...
0
votes
1answer
22 views

www-data running command not working

I'm using nginx with php , and I would like to run some command with exec() http://php.net/manual/fr/function.exec.php . the current example work perfectly echo exec('whoami'); but when I try with ...
1
vote
1answer
30 views

Is there a ppa for nginx mainline with pagespeed?

I could only find a couple for the stable branch of nginx
44
votes
6answers
65k views

Nginx failing to reload - how to track down why?

Hi I've had my Nginx server running great on Ubuntu server 12.04 for a while. I've been gradually bolting on various bits, and got as far as optimising load times on my wordpress page. After making ...
2
votes
1answer
104 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: ...
0
votes
1answer
609 views

nginx fail to install on Ubuntu 15.10 server

I am trying to install nginx on my freshly installed Ubuntu Server 15.10 with Mate desktop. I did a quick update: sudo apt-get update Now trying to install nginx: sudo apt-get install nginx ...
0
votes
0answers
98 views

php permission denied on ubuntu webserver

I have an Ubuntu web-server on Ubuntu Mate 15.10, with php-fpm, and nginx 1.9.3. I tried to do some simple file IO today, but got: failed to open stream: Permission denied from ...
4
votes
1answer
6k views

parse_rackup_file': rackup file (config.ru) not readable (ArgumentError) Unicorn Nginx

I used the one-click Rails, NGINX, Unicorn, MySQL droplet set up to create my server and I can't get Unicorn to start as a daemon. Here's the stack trace when I /etc/init.d/unicorn start: ...
0
votes
0answers
11 views

nginx smf forum works on host but not clients

I have ubuntu running in a virtual machine and I have a LEMP stack properly configured and everything works... on the host VM. im the actual OS (windows 10) some files dont load (some .css files and ...
0
votes
2answers
54 views

Apache2 error no listening sockets avaliable

Someone help me. This error appeared after I installed without wanting NGINX but had the ispconfig . I want to continue to use the ispconfig . It seems that something is on the port that it is ...
0
votes
3answers
9k views

Perfect forward secrecy in Ubuntu 14.04 default installation

Does Ubuntu 14.04 support and enable perfect forward secrecy ciphers in the default TLS configuration of servers such as nginx, dovecot and postfix? Previous versions of Ubuntu such as 12.04 did not ...
0
votes
1answer
118 views

nginx won't start at boot using systemd

I'm using nginx mainly as an http(s) proxy, for this I need to provision some domain names, which nginx tries to resolve (DNS) at startup. If I start nginx manually (using systemctl start) after the ...
0
votes
0answers
24 views

Securely load website content using http on local and https outside

Is secure to load page on local server (i have apache and nginx,where nginx is proxying to apache under specific port) with http and for setup https for output ? Example: I have service running under ...
3
votes
2answers
12k views

nginx dependency problem trying to upgrade

Trying to upgrade my Ubuntu 12.04 vps I get the following error: henrik@neung:~$ sudo apt-get upgrade [sudo] password for henrik: Reading package lists... Done Building dependency tree ...
1
vote
1answer
68 views

Using SSL with redirects from non http causes redirect loop?

I recently setup letsencrypt with my site, and the SSL works perfectly. However, when I set Nginx to redirect HTTPS to HTTPS, I get a redirect loop where when you visit the website and refresh the URL ...
0
votes
2answers
37 views

How to totally remove the nginx from ubuntu 14.04 LTS

I have un-install all the nginx related packages.(like this answer said http://askubuntu.com/a/457412/383308), after that I run the command below command gives nothing. sudo find / -name 'nginx' ...
1
vote
1answer
55 views

Multiple connections per ip

I am running Ubuntu with a webserver (Nginx). I noticed that one IP has multiple connections opened. My server works all fine and there is no issue. I am just curious to know why there are many ...
3
votes
2answers
1k views

Existing laravel 4 project gives 404 in browser

I'm trying to set up a development environment on a virtual machine running Ubuntu 14.04 LTS using Nginx and HHVM. To do this, I followed the tutorial here. This goes well with a new installation of ...
0
votes
1answer
16 views

Filtering nginx traffic

I have an nginx server running on ubuntu server. I have many websites and hundreds of pages hosted on the server. I want to execute one PHP function on each page when it is requested by a user. It is ...
0
votes
2answers
49 views

NGinx reverse proxy and subdomains on apache2

I currently have an nginx VM setup to route traffic between 3 domains but am having an issue with routing the subdomains at the moment. The current configuration goes PFSense -> nginx reverse proxy -> ...
0
votes
0answers
26 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 ...
9
votes
2answers
12k views

how to install nginx after removed it manually

I have installed nginx using apt sudo apt-get install software-properties-common sudo add-apt-repository ppa:nginx/stable sudo apt-get install software-properties-common sudo apt-get update sudo ...
2
votes
1answer
241 views

Why is my NGINX downloading files?

I've set up a redirect so I can serve my PHP files without the .php extension, but whenever I visit a "clean" url, my browser downloads the file, suggesting NGINX isn't hosting it as a PHP file. How ...
3
votes
1answer
222 views

How do you debug a php5-fpm kernel segfault error?

A couple of weeks ago, my OSSEC daemon started sending me syslogs about a segfault in my php5-fpm. Here's the portion of the logs: Dec 19 15:09:38 mydropplet kernel: [165740.998932] php5-fpm[26936]: ...
2
votes
2answers
96 views

set nginx server_name variable from command

root@username:/home/dokku/appname# cat nginx.conf server { listen [::]:80; listen 80; server_name appname.wrongname.co.uk ; access_log /var/log/nginx/appname-access.log; ...
3
votes
2answers
310 views

SSL on one domain and not the server ip or any virtual hosts (nginx)

I have a SSL setup on my nginx server and the SSL works perfectly, only problem is it is working on all other virtual hosts and also the server IP which I don't want it to. It should only work in the ...
0
votes
1answer
32 views

Disabled domain remains active. Varnish:80, Nginx:8080

I need to move dev.mydomain.com to mydomain.com to make new site available on the official domain. In order to do this I: created new vhost record in /etc/nginx/sites-available for domain.com ...
1
vote
0answers
29 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 ...
0
votes
0answers
21 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 ...
1
vote
2answers
307 views

How to configure Apache on Ubuntu 14.04 if Nginx is already installed

I followed the Tutorial on Digital Ocean and installed LEMP server successfully. Then I read about reverse-proxy using Nginx and APache for hosting multiple websites on the same droplet . Since I ...
0
votes
0answers
57 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
1answer
18 views

Do I need to keep the ngx_pagespeed source code after compiling it into nginx?

I have built nginx with the ngx_pagespeed module with the following configure flag: --add-module=ngx_pagespeed Do I still need to keep the original ngx_pagespeed directory after it finishes ...
19
votes
1answer
36k views

Ubuntu php5-fpm unix socket

I have Ubuntu 11.10 and installed php5-fpm and I want to configure nginx. I want to use unix sockets instead of tcp sockets but I couldn't find the /var/run/php5-fpm.sock I have looked also ...