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

learn more… | top users | synonyms

1
vote
0answers
16 views

Problem with downgrading nginx - can't remove dependencies

I need to downgrade nginx from 1.10.1 to 1.4.6. However I got stuck. Please take a look on listing below: root@FServer:~# nginx -v nginx version: nginx/1.10.1 root@FServer:~# apt-cache policy nginx ...
0
votes
2answers
3k 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
4k views

uwsgi can't find python plugin

I'm trying to deploy a python app to my Ubuntu 12.04.1 VPS running Nginx / uWSGI. I've setup my server following this guide. When I restart uWSGI I get this message: nickd@my-vps:~$ sudo /etc/...
0
votes
2answers
128 views

502 Bad Gateway nginx php7 fpm

I tried to install nginx and PHP7 with fpm using this tutorail https://www.digitalocean.com/community/tutorials/how-to-upgrade-to-php-7-on-ubuntu-14-04 When i try to access any php file I get 502 Bad ...
0
votes
0answers
25 views

fastcgi cache in nginx is not caching the same page for all users

I'm using Ubuntu 14.04 server, and I just found out that fastcgi cache is not caching the same page for everybody. I thought it did. I ran some new PHP GeoIp code that displays the user's country name,...
0
votes
0answers
21 views

Start nginx on boot with config in non-standard location

I'm trying to do something that I consider fairly simple... When Ubuntu boots, I want to start nginx using a config in a non-standard location (e.g. /home/ubuntu/foo/nginx.conf) I've just installed ...
1
vote
3answers
820 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
56 views

./configure: C compiler cc is not found

I am currently trying to compile nginx from source with the RTMP module on Ubuntu Server 16.04 LTS. Everything is ready and in place, but I can't compile. I get the following error: ./configure: ...
0
votes
1answer
23 views

Still apache page running after configuring nginx?

I have done all the below steps still apache page is running on localhost:8000 : It is because by default Apache and nginx are listening to the same port number (:80) Reconfigure nginx to listen on ...
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... ...
2
votes
2answers
10k 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
0answers
39 views

Nginx server not connecting

I have a DigitalOcean droplet running Ubuntu. It's currently running a Node app, but I'd like to have it running multiple ones. So I've been following the simple tutorial on isntalling Nginx here: ...
0
votes
0answers
18 views

Nginx as Proxy in front of Apache or just switch to Nginx? [on hold]

Hope someone can offer some advice. Been reading up a lot about running Nginx as Proxy in front of Apache to speed up the way Apache serves requests. Been considering this but wondered if it's ...
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 ...
-4
votes
1answer
46 views

What do I put for server_name in NGINX? [closed]

While configuring the nginx web server and the default configuration file/etc/nginx/sites-available/default, I have to put something in for server_name. What do I put for server_name in this ...
0
votes
0answers
73 views

nginx fails to update after upgrade to 16.04 server

I upgraded from 14.04 server to 16.04 server. I have always used the official nginx packages, because I needed support for things like SPDY and HTTP2 which were not in the 14.04 version of nginx. ...
0
votes
0answers
16 views

Ubuntu Server 14.04 nginx Wordpress?

I was wondering if someone could shed some light on what im missing? So before I was running my own small website on WAMP on windows now that Im moving everything to linux I installed ubuntu server ...
0
votes
0answers
17 views

Nginx Proxy-Pass Rule convert CDN URL to Origin URL

My Proxy-Pass Rule at Nginx is converting the CDN URL to the ORIGIN URL. How can I change this to keep the CDN URL? rewrite ^/asset/(.*) /includes/libs/minify/index.php?g=$1 last;
0
votes
1answer
46 views

RMTP Streamig to Twitch [closed]

First of all, i posted this question on http://unix.stackexchange.com but so far no responds. I'm reposting it here since i tried it on ubuntu 15. and got same results. I would like opinion on that. ...
-1
votes
0answers
19 views

Loading Unix Sockets on RAM to allow faster Communication

I am currently working with some php versions and nginx. They are communicating with FastCGI and i liked more the idea to let them communicate via an Unix Socket.. There i just got some Perfomance ...
0
votes
0answers
21 views

404 not found : After installing LAMP stack

I have installed Ubuntu and NGINX server, php7.0 and mysql database. After that I have installed the WordPress. When I opened the site with ip-address I am getting 404 not found.
0
votes
1answer
26 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
76 views

Installing phpmyadmin on php7 : Ubuntu 14.04

I have LAMP stack on Ubuntu 14.04. I have upgraded from php 5.0 to php 7.0 but i couldn't install phpmyadmin. I went to my public folder which is var/www/domain.com/html and ran that code, git ...
0
votes
0answers
26 views

How to restart nginx server using PHP? [duplicate]

I have a problem, i make a site to control our server, but i cannot restart nginx server, this my code $queryRestart = "sudo /etc/init.d/nginx restart";<br> $restart = exec($queryRestart);
1
vote
2answers
83 views

Run Shell Script inside tmux

Why after running tmux on a remote server via ssh, program works; but after detaching sessions, it returns 404? This is a Go(golang) program, a http server listening on a port, behind a nginx reverse ...
0
votes
0answers
92 views

Lucee, Preside, Elasticsearch And Nginx on Ubuntu 16.04 LTS

I've been following a document on Installing Lucee, Preside, Elasticsearch and nginx all on Ubuntu 14.04 LTS. Our current version works however when I attempted at installing it on the most up to date ...
1
vote
0answers
69 views

SSL Certificate Issue Godaddy + DigitalOcean + Nginx

I follow digitalocean tutorial - how to install godaddy certificate with nginx. Everything worked fine expect it's not showing green color in chrome or lock in safari. I tested certificate with ...
0
votes
0answers
44 views

Problem in nginx ERPnext is not opening

I installed ERPnext on Ubuntu command-line server and everything was great, nginx opened at localhost:8000 and worked fine. it stopped working until I installed apache2 no doubt, i removed apache2 but ...
0
votes
0answers
52 views

Mattermost Nginx Configuration

I'd like to run Nginx ONLY on the port required for Mattermost i.e. port 8065 alone. I want it to use SSL so that the communication is secure. I've attempted with what they provided in the ...
2
votes
2answers
2k views

Nginx: unknown directive “uwsgi_param” in /etc/nginx/uwsgi_params:1

Using this deployment tutorial, I'm trying to get an Ubuntu 12.04 server up and running with Flask, uWSGI and Nginx. I now have trouble getting Nginx to run. When I try to (re)start nginx it simply ...
-1
votes
1answer
45 views

How we install Apache and Nginx together and check default page as both uses same port 80

$sudo apt-get install apache2 $Sudo apt-get install nginx Both installed but only apache is running and if we go for nginx after stopping service of apache ,nginx service is running but not showing ...
0
votes
1answer
116 views

Multiple websites on nginx, one IP

So I'm using digital ocean and nginx. I want to host multiple websites (my projects) but dont want to buy a domain for each one. Is there a way to host multiple websites on nginx and digital ocean ...
0
votes
1answer
29 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
29 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
237 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
42 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. test.com/...
0
votes
0answers
29 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
19 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
32 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
1answer
1k 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 ...
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 ...
0
votes
1answer
45 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
50 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
38 views

Is there a ppa for nginx mainline with pagespeed?

I could only find a couple for the stable branch of nginx
49
votes
6answers
73k 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
126 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
2k 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 ...