nginx (pronounced “engine x”) is a lightweight web server and a reverse proxy server

learn more… | top users | synonyms

0
votes
0answers
9 views

Repository not found error for private git server

I am trying to set up a private git server with http(s) access on nginx. When I try to clone a repo, I get an error: $ git clone http://git.example.com/git/MyRepo.git Cloning into 'MyRepo'... ...
0
votes
0answers
7 views

WSGI, Ngnix, Python3, Debian Wheezy: what pkgs to install, how does it all fit in?

I'm working on a web-site. I would like to add some database functionality eventually: for this, i need to understand SQL, python-sqlite3, python-wsgi spec, python-uWSGI server and how all this is ...
1
vote
0answers
7 views

Nginx Modsecurity Apache Include Equivalent

I just switched from apache to nginx and so far I've been pretty happy. However, I've been having some issues with modsecurity. Back when I used apache I could use the following to add every rule I ...
0
votes
1answer
14 views

Propagating visitor IP through nginx

I have a node.js site fronted by nginx. So that when request gets to the site the IP in the request is 127.0.0.1 Is there anyway to modify the request while it is under nginx control so that node.js ...
0
votes
0answers
6 views

Gitlab w/ nginx not loading images [closed]

I setup gitlab and nginx but when I go to my domain I get this.. http://prntscr.com/5e1ej3 I'm not to familiar with nginx so I'm a bit lost.
1
vote
1answer
28 views

Plesk (or similar) admin panel for NodeJS hosting

I am wondering if there any Plesk-like control panels to offer NodeJS hosting. I am trying to find out if it is possible to replace Apache and PHP with NodeJS and NGINX for vhosts, while MySQL ...
0
votes
1answer
14 views

Low TPS using Virtualbox + Ubuntu + Nginx + PHP-FPM + Silex

I am trying to understand why I get such a low TPS rate on my development environment. I am using the following: Mac OS X Mavericks VirtualBox Ubuntu 14.04 Nginx PHP5-FPM Silex I did not tweak ...
0
votes
0answers
8 views

Low TPS using Virtualbox + Ubuntu + Nginx + PHP-FPM + Silex

I am trying to understand why I get such a low TPS rate on my development environment. I am using the following: Mac OS X Mavericks VirtualBox Ubuntu 14.04 Nginx PHP5-FPM Silex I did not tweak ...
0
votes
2answers
21 views

What file to add to nginx certificate

I got a RaspberryPi on which I want to host Owncloud. So I followed this tutorial and it works well except the SSL part. I don't want to use self signed. I set my own subdomain and it works without ...
0
votes
0answers
10 views

Find issues in PHP site hosted under Nginx and PHP-FPM, no log error

I'm setting up a Wordpress site under Nginx 1.6.2 + PHP-FPM (PHP 5.5.18). This is the configuration for WP site: server { root /var/www/html/jurisprudencia.dev; index index.php ...
0
votes
0answers
14 views

nginx is still linked to old openssl

We're running CentOS 6.5. We recently updated via yum: OpenSSL to OpenSSL 1.0.1e-30.el6_6.4 nginx to nginx-1.6.2-1.el5.ngx However, I noticed that even though nginx was configured to use TLS v1, ...
0
votes
0answers
16 views

Block empty user-agents nginx? [migrated]

My site was under attack and I noticed all the user agents are blank. How can I block this with my nginx? I have no idea what to block, if this is an empty user agent or what.
0
votes
1answer
28 views

Images and styles do not load in GitLab

I've installed gitlab on arch and now when I connect to it using localhost, everything displays fine If I use my domain, it works but displays no icons or images and the stylesheet is messed up
0
votes
1answer
41 views

Host multiple website using nginx on the same IP [duplicate]

I've set up a Raspberry Pi to act as web server, so I've installed nginx with php5 and I bought two domains: domain1.co.uk Domain2.it I have a static IP which is linked to these two domains, so if ...
0
votes
1answer
42 views

nginx not accessible from public IP, but is on 127.0.0.1

I am trying to set up nginx as a reverse proxy with HTTP Authentication to a site running on IIS. I have modified the http.sys bindings, as well as my IIS site bindings so that nginx can successfully ...
0
votes
0answers
38 views

301 redirect DNS issues related to Nginx change

I think I screwed up something in my Nginx configuration. Here is how I can explain it: I own a domain lets call it abc.com Before all the issues happened DNS was configured in the following way at ...
0
votes
1answer
77 views

How to show file in browser instead of downloading?

I'm using Owncloud (behind Nginx) to share a file. When I generate a share link, the link points me to the download page or if I append "&download", it immediately starts downloading the file. ...
0
votes
0answers
32 views

php-fpm and how it's related to php

I have a php-fpm setup with nginx and php 5.5.18... i have compiled the php from soruce with the following configuration './configure' '--disable-all' '--prefix=/opt/php/v5.5.18' '--enable-json' ...
0
votes
1answer
62 views

nginx proxy_pass and virtual hosts within LAN returns 404

I hope this makes sense. Basically, I have set up a local server on my MAC using nginx, with these rules for the proxy_pass: location /engine/rest { proxy_pass ...
0
votes
1answer
105 views

Why can't nginx access puma socket on CentOS 7?

So I have a Ruby on Rails app in /var/www/ owned by nginx with 755 permissions. Said app is intended to be deployed via puma. Like so: rvmsudo -u nginx bundle exec puma -e production -d -b ...
0
votes
0answers
12 views

In Nginx Configuration, if I am doing a reverse proxy, is there a way to filter layout of the webpage to-be-displayed, i.e., a logo?

Is there a way to filter, for instance, a site logo, when using a reverse proxy in Nginx configuration? How would I go about doing this? Thanks in advance...
1
vote
1answer
220 views

nginx 403 Forbidden on CentOS (Vagrant)

What I have checked so far: Logs - they are empty, booted a new VM. Permissions: $ namei -l /var/www/awesome/ f: /var/www/awesome/ dr-xr-xr-x root root / drwxr-xr-x root ...
0
votes
1answer
33 views

how to monitor network/cpu/memory/disk usage by each Rails app

I run many Rails app on linode VPS I want to charge my customers by their usage, Is there anyway to monitor each Rails app's usage ? I need these information network/cpu/memory/disk usage Any ...
0
votes
0answers
113 views

Rewrite or internal redirection cycle while internally redirecting to “index.php”, request: "GET /etc/lib/[some-folder]/[some-php-file].php

Finding this error in my error.log Rewrite or internal redirection cycle while internally redirecting to "index.php", request: "GET /etc/lib/[some-folder]/[some-php-file].php I guess someone ...
0
votes
1answer
68 views

Nginx, php-fpm, virtual hosts and premissions

I have apache-mpm-itk + php_module setup and user's folders/files belongs to them. But I want to migrate several accounts to nginx + php-fpm. What should be the right permissions on folders/files if ...
1
vote
1answer
54 views

Nginx slow downloads even with low disk io

I run a small video streaming website and i've been noticing some problems with videos on my site. I have multiple 1gbit servers and the servers are only going at 1/4 port speed. When I try to load ...
0
votes
0answers
89 views

Node.js Express NGINX : static file paths break with name spaced proxy_pass

So I was accessing my server at domain.com:3333 but just switched it it to domain.com/nodeapp using upstream and proxy pass in my nginx config. The redirect works just fine, but now the links to ...
0
votes
1answer
44 views

PHP read permissions messed up

I'll try to be as clear as possible. On my server which runs on ubuntu 14 i installed mutlicraft (a minecraft control panel). After uploading the server i noticed that the server wont run. Thats ...
0
votes
1answer
53 views

Configuring /etc/hosts to run an application

I am using nginx, until now I was running my php applications on /usr/share/nginx/html which is the default document root when nginx is installed on centOS and like systems. Now I had to create ...
0
votes
1answer
106 views

PHP User in NGINX not Accessing File, Permission with Group

I know that nginx sets the user for php as www-data. Therefore the user www-data needs access to the entire structure as described in this blog post. To express my issues I will have to define some ...
0
votes
0answers
43 views

OS X MySQL '/tmp/mysql.sock' error after sudo chown -R myname usr

On OS X 10.6, when installing NGINX I inadvertently (hastily, stupidly) ran sudo chown -R myname usr, and think I repaired it with Applejack (app, run from command line). However, Running the ...
1
vote
1answer
1k views

Error install nginx version 1.6.2 in Ubuntu 14.04

My server is Ubuntu 14.04 the info.php is blank :( I do not really know what's happening I want to install the latest version of nginx I followed these steps: install nginx apt-get install ...
0
votes
0answers
79 views

Nginx on OSX 8 (Mountain Lion) won't start - dyld: Library not loaded

I recently decided to ditch MAMP for NGINX as it's what I use in production. So far I have: Installed XCode's GCC module. Installed Homebrew Installed NGINX What I've tried: Uninstalling ...
1
vote
1answer
28 views

Raspberry Pi getting same IP

So I connected my Raspberry Pi ( with Raspbian on it ) to my router to give it an internet connection for it's own, then I added an ACCEPT rule in iptables on port 80 and started up nginx. I used lynx ...
2
votes
2answers
598 views

Nginx can't connect to uWSGI socket with correct permissions

I'm trying to connect Nginx to uWSGI so I can run an application written in Ruby (where I am not able to use passenger). This is my virtual host configuration: server { listen ...
0
votes
2answers
71 views

Rapsberry webserver nginx - How to publicly acces FTP vsftpd

I have set up my Raspberry Pi to run Nginx for my webserver. My public IP shows the first website, the domain folder, I made on it, this happens on port 80. Now I have set up vsftpd as my FTP server, ...
0
votes
0answers
39 views

How do I make my vagrant site visible to all users on the network?

I'm running a website using Vagrant/VirtualBox/Ubuntu 14.04/Nginx. It's running on IP 192.168.33.10 but I can only access it if I edit my Windows hosts file to make the guest hostname point to that IP ...
0
votes
0answers
26 views

VARNISH ESI when passing url to nginx back end

I am using esi to load a banner into my index.php page, but when a user is logged in i send traffic to nginx by using return (pass), but nginx can not parse the esi part and i get the page without the ...
0
votes
0answers
80 views

Trying to remove 1152 samples, but the queue is empty

I am streaming mp3 files,using this command : ffmpeg -re -i 'INPUT.mp3' -map_metadata -1 -map 0:0 URL I create a loop which stream files,and there is no problem with reviving stream,just from ...
0
votes
0answers
18 views

Setting up nginx on Fedora 19

So I had nginx set-up with the default site. I decided I wanted to change because my website is at /var/www/server.nyro.net/... so before I changed again, I went to 127.0.0.1 to see if everything ...
0
votes
0answers
75 views

Apache vs nginx Memory Consumption with PHP

I want to start by saying that I know the debate regarding PHP performance under Apache and nginx is still a bit undecided, as PHP is generally the bottleneck on performance. I have my application ...
0
votes
0answers
13 views

PHP-FPM: if “part of PHP”, then how to run as separate proxy to Nginx?

In writeups of PHP-FPM, websites tell me that it's been a part of PHP since 5.3.3. What does this mean? If I have PHP 5.3.8 installed on my server and already being used inside Apache (to which ...
0
votes
0answers
87 views

Moving to a complete Nginx/PHP-FPM environment from Apache

I am sure this is a question many beginner sysadmins like me have, and many more advanced people have already put this in place: CURRENT PLATFORM: Nginx proxying to Apache, which manages PHP ...
0
votes
0answers
477 views

How to upgrade Nginx and install php-fpm on CentOS

I want to upgrade Nginx via Yum, and also install PHP-FPM as usual. Most blog and online resources use the EPEL and REMI repos, but they're not working on my server. My OS info: Linux ...
0
votes
0answers
54 views

How to host multiple nodejs application under one IP

For example, I have a Ubuntu instance, domain name www.example.com. How can I run different nodejs in www.example.com/web1, www.example.com/web2? Another question is, can all of them run on port 80? ...
2
votes
1answer
201 views

How to Set Up Nginx as a Reverse Proxy

I am trying to set up nginx to behave as a reverse proxy listening on a subdomain we control. I have followed examples found online and they mostly work with one exception that isn't clear to me. ...
0
votes
0answers
80 views

Nginx in front of Apache and retain logins

I've googled for a while and searched super user and can't seem to find anything regarding my current issue. I'll try to explain it as best as I can. I have two servers, at two different geographical ...
0
votes
1answer
39 views

How to set up a .local domain on Linx?

I have multiple nginx virtual hosts all pointing to localhost. Right now they have same name different ports localhost:8080, localhost:8081. Instead I'd like them to have same port different names ...
0
votes
1answer
236 views

Puphpet, Vagrant and Nginx custom locations

I'm trying to add some custom Nginx locations to a Vagrant Puphpet config.yaml file and it seams I cannot find the correct format for that. I searched for it but no luck. Did anybody already did this ...
1
vote
1answer
70 views

Virtual Host Redirects and Packet Flow

If I set up a virtual host in nginx, will all packets flow through that PC? Here is what is going on. I have an openwrt NAT router with two devices behind it, a server and a raspberry pi. I want both ...