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

learn more… | top users | synonyms

0
votes
1answer
155 views

cannot view website from outside LAN

I am trying to host a website using a raspberry pi and nginx. I have everything set up, and can even access my website while directly linked to my lan. I cannot, however, access it outside my network....
0
votes
1answer
299 views

index when serving 2 merged directories in nginx via try_files

I have two directories containing static files that I serve with nginx using the try_files directive. (One filled with generated pages by pelican, one with static content.) However I can't get the ...
0
votes
1answer
53 views

Setup https and http on wordpress nginx

[root@serv01 nginx]# cat nginx.conf # For more information on configuration, see: # * Official English Documentation: http://nginx.org/en/docs/ # * Official Russian Documentation: http://nginx.org/...
1
vote
1answer
122 views

What's the recommended way to use/install webapps on Arch Linux? [closed]

I'm trying to figure out the best way to robustly setup webapps on my Arch Linux + nginx server. The way I used to do it before was to download and unpack e.g. latest version of dokuwiki/wordpress ...
0
votes
0answers
87 views

WordPress won't load unless iptables is disabled

I am running CentOS 6.6 using nginx. WordPress will not load unless iptables is disabled. I tried to add the 9000 port for fastcgi, but that did not work. I am guessing it has something to do with ...
0
votes
1answer
1k views

Exclude a single file from an nginx location match

I have a location on nginx like this: location ~* /(images|cache|media|logs|tmp)/.*\.(php|pl|py|jsp|asp|sh|cgi)$ { return 403; error_page 403 /403_error.html; } I have a php script that combines ...
0
votes
1answer
210 views

Nginx auth_request fires multiple times, why?

I have a simple proxy which requires an auth_request subrequest for authentication. Authenticated users are then proxied to an s3 url to download a file. What I am seeing however is it appears the ...
0
votes
0answers
661 views

ansible playbook handlers not starting nginx service through notify statement even when changed is true

I've started trying to learn how to use Ansible. I'm following an Ansible Tutorial from Servers for Hackers, and I'm trying out the examples on a VirtualBox virtual machine running Ubuntu 12.04.5 LTS (...
0
votes
0answers
31 views

Echoed Nginx Headers

I've been playing with nginx and pagespeed lately and noticed that the headers are being printed out on the page. I've been looking through my config files but I couldn't see a line that can echo any ...
-3
votes
1answer
263 views

Performance with HHVM on Apache and nginx

I had a new Ubuntu server, and I want some opinions on the web server. I am developing with PHP, and stuck between Apache and nginx. I have used WAMP without problems, but in this case, I want to ...
2
votes
1answer
508 views

Can I facilitate Nginx to multiplex an Icecast stream?

The headline basically says it, I have Nginx connect as a reverse proxy to one of my Icecast2 streams. Now it would be nice if, for every new connection to Nginx, it would not proxy a new connection ...
2
votes
1answer
367 views

Add module to nginx after installation

Hi i did install nginx with this command on centos 6 sudo yum install nginx and it work but i need to compile wit rtmp module so How can I find the path to make some changes ./configure --add-...
0
votes
1answer
107 views

Nginx - access from a public ip address - ubuntu 14.04

An nginx server is up and running locally on my system[ubuntu 14.04]. But i am having difficulty accessing the same server from my public ip address, or from any other system using my public ip ...
0
votes
2answers
306 views

Nginx reverse proxy returns incorrect url

I have the following setup: public, dynamic IP from my ISP, dynamical DNS let's call it public.org Reverse-proxy (nginx,ubuntu 14.04) Webservers (nginx,ubuntu 14.04) A,B,C running webapps within my ...
0
votes
0answers
99 views

Nginx/Owncloud not accessable from outside my local network

I've got a Raspberry Pi with Nginx and Owncloud installed. I forwarded ports 80 and 443 in my router. When I type my DDNS adress on my Pi, it opens my Owncloud page without any problems, but from ...
0
votes
1answer
145 views

nginx website behind a router connects ok with myserver.local but asks for username and password when accessed via myserver.mydomain.com

nginx website behind a router connects ok with myserver.local but asks for username and password when accessed via my myserver.mydomain.com All I wanted is to expose one of my Node.js test sites to ...
0
votes
0answers
117 views

php.ini changes not reflected to website

i am unable to edit the php.ini changes. i changed in the etc/php.ini and also in home/domain/etc/php5/php.ini But the changes are not be reflected when i see on the php files. i am using phpinfo() ...
0
votes
0answers
61 views

Change wordpress port number in nginx

I have a wordpress installation with nginx. It's currently use port 80. But I'd like to change it to something else. So I found /etc/nginx/sites-available/wordpress file and changed the following two ...
0
votes
0answers
216 views

how to configure nginx to dispatch request to index.html and tomcat server?

I'm new to nginx configuration. There are a static html file: index.html and a tomcat server for dynamic pages. I want: - When access http://xxx/ or http://xxx/index.html, the static index.html file ...
0
votes
1answer
441 views

Nginx is outputting logs to my terminal (stdout). How can I stop it?

My laptop is ArchLinux, with Nginx 1.6.2 installed. I’ve never touched Nginx’s log configuration, but out of blue, when I try to access the local website, the logs will be printed to the opening ...
0
votes
1answer
336 views

Redirect web socket connections to newly created docker container with nginx

I created a Docker image which exposes a certain port, and listens for a single web socket connection. Is it possible to configure nginx in a way, so that for each new incoming web socket connection, ...
0
votes
1answer
223 views

Using proxypass with plesk, show admin session ip

I've setup a subdomain for use with plesk so I don't have to type out the port all the time. Here is my HTTP configuration: SSLProxyEngine Off RewriteEngine On RewriteCond %{HTTPS} off RewriteRule $ ...
0
votes
0answers
1k views

Nginx Docker container port forwarding not working on OS X

Ok, this is driving me kinda nuts. I'm trying to run an Nginx server through Docker, but can't get port 80 exposed properly. As I'm running boot2docker as a regular user, I can't bind any port under ...
0
votes
1answer
1k views

How to configure NGINX for multiple apps (including Laravel) without domain name

I have an Ubuntu install on a VPS. I do not have any domain name so all content is accessed via https://IP:port. I have been trying to configure nginx so as to run several webapps accessed via ip/name....
0
votes
0answers
398 views

Nginx Load Balancer redirecting instead of proxying VMware Horizon View

I have two VMware Horizon View security servers (ss0.domain.net, ss1.domain.net) that leverage HTML access that I'd like to load balance behind Nginx (lb0.domain.net). Both security servers are ...
0
votes
1answer
575 views

Can't get HTTP request time with goaccess from nginx log

I've we websites hosted on nginx web server. I've added HTTP request duration to nginx logs, and nginx logs that data. http://nginx.org/en/docs/http/ngx_http_log_module.html I also have goaccess log ...
1
vote
2answers
3k views

OSX Yosemite can't bind brew nginx to port 80

Installed nginx and php-fpm via Homebrew. I've disabled native Apache 2.4 that comes with OSX by running: glfx:~ glfx$ sudo launchctl unload -w /System/Library/LaunchDaemons/org.apache.httpd.plist ...
1
vote
1answer
969 views

Nginx not starting as a Windows Service

I'm trying to run nginx as a service on windows 8 but i'm unable to start it as a service. I don't see any error in the logs after running .\nginx -c conf\nginx.windows.conf in the powershell. Cursor ...
2
votes
1answer
1k views

Owncloud in subdirectoy on arch + nginx + uwsgi

After several system updates of my Arch linux server, the owncloud web interface it is hosting stopped working. Unfortunately I noticed it only recently and I can't really go back to working system ...
0
votes
2answers
436 views

nginx on vagrant box doesn't start automatically

I've set up a vagrant box with this vagrantfile: # -*- mode: ruby -*- # vi: set ft=ruby : Vagrant.configure(2) do |config| config.vm.box = "puphpet/debian75-x64" config.vm.synced_folder "../.", ...
0
votes
1answer
86 views

nginx and mailman: forward to listinfo by default

I struggle now for quite a bit with the problem to get mailman and nginx running. Everything works fine but if the user vists just the domain, i get a HTTP 502 error. How can i say nginx that it ...
0
votes
0answers
1k views

nginx-rtmp pushing from one application to another

I'm trying to push a RTMP stream with the nginx-rtmp-module (set up after this manual) from one of its applications into another one. A minimal example of my config (nginx.conf) looks as following. ...
1
vote
0answers
277 views

502 Bad, Gateway Ruby on Rails [closed]

Our website is currently down(hosted on Digital Ocean) with error code "502 Bad Gateway" and our web developer is currently out on Vacation. I am just an IT person on our network and I don't have web ...
0
votes
0answers
88 views

Pages from specific web server fail to load on Android browser

I have a weird problem I can't get a handle on. No page from the site http://www.donegalnow.com will load in the default Android browser. All pages from the same site load using Chrome for Android and ...
1
vote
0answers
82 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
158 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 ...
1
vote
1answer
1k 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
112 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
80 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
1answer
173 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
1
vote
1answer
3k 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
3k 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
174 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
409 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
1answer
359 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 http://somedomain:9080/...
3
votes
1answer
2k 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 unix:///...
1
vote
1answer
2k 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
295 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.
0
votes
1answer
762 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
541 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 ...