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

learn more… | top users | synonyms

0
votes
0answers
7 views

Getting nginx 404 error on uploaded files

I am using PHP (5.3) to upload jpeg files, create folders for those files and store them. I have a development version and a live version both running on the same server (CentOS 7, Apache, Plesk 12). ...
0
votes
0answers
10 views

Passenger issue with Rails routes

I have been tasked with getting a Rails 2.3.14 app running with Phusion Passenger 5.0.7 standalone in FreeBSD 9. Setup is all complete and done, the issue I am facing is Passenger doesn’t seem to ...
1
vote
0answers
51 views

nginx serving AngularJS app returns 404 Not Found

I am experiencing problems on configuring nginx to serve static angularjs files. This is my situation, I want the landing page of my application under domain.com and the AngularJS app under ...
1
vote
0answers
18 views

Can't get nginx as a proxy server working

I'm trying to setup my home server to send requests for certain domain names to other computers on my home network (I only have one IP address.) I'm using Nginx to do this, but I'm not having any ...
0
votes
0answers
18 views

nginx gives 404 and 403 in all the files in webroot

I have setup a webserver in a virtual machine on my laptop and I can't get nginx to work. My home DNS is put to example.home for easy access. Here are the symptoms: When I try to access ...
0
votes
1answer
24 views

How can I disable nginx from Gitlab bunlde?

I've installed a Debian/Jessie server with an apache 2.4 service I downloaded and installed the bundle package of Gitlab for Debian 8 (Jessie) I activate unicorn and configure a virtualhost in apache ...
0
votes
1answer
31 views

raspberry pi ip address and port forwarding on Arris router

I am trying to host a website on my raspberry pi using nginx. I am extremely confused about port forwarding or even which IP to use in my pi's configuration. Right now, I can access my site ...
4
votes
0answers
26 views

Simple Nginx config doesn't work

I am a developer with absolutely no server experience, this project I'm working on is my first foray into the world of servers. Basically I have to host an API online, on a Linode server running Nginx ...
0
votes
1answer
21 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 ...
0
votes
1answer
14 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
0answers
23 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: ...
1
vote
1answer
22 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
23 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
0answers
6 views

Is there a way for Nginx to load certificates from URL?

I want to store the SSL certificates for Nginx externally to the server. Thus it would load its SSL certificates not from the file system, but probably via HTTPS from some URL. Is this possible?
0
votes
1answer
88 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
22 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
54 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
13 views

nginx configuration - Allow local access (different rules for local requests?)

I'm working on a debian 7 nginx server. Because the server is online available, I restricted the access with following lines in the site-configuration ( server {} ): auth_basic "Restricted"; ...
0
votes
0answers
13 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 ...
0
votes
0answers
67 views

Nginx + PHP projects outside of root

I'm trying to setup project directories outside of my server root in Nginx 1.0.15 (I can't get any newer versions due to environment). I want my directory structure to look like this: /var/www |-- ...
0
votes
0answers
24 views

Nginx Echo Subrequest not working

I am new to Nginx. My requirement is I need to make a service call but along with proxy passing that request, I need to make call to another service/servlet. For this I decided to use Echo module to ...
-3
votes
1answer
101 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 ...
1
vote
0answers
92 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 ...
0
votes
0answers
42 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 ...
0
votes
0answers
141 views

404 error trying to run Owncloud behind a reverse proxy

I am running an owncloud install at a small server at home, but want to set up the server my website runs on to forward proxy requests for owncloud to my home server. I think I (sort of) have the ...
0
votes
1answer
39 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
38 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
31 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
42 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
340 views

CentOS 7 ownCloud 8.0.2 nginx WebDAV

I'm trying to setup private evernote alternative via ownCloud and TagSpaces. At the moment I'm failing to bring the WebDAV to run. The control panel complains that it is not set up properly and I ...
0
votes
0answers
28 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
19 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
67 views

Ubuntu 14.04 running asp.net with mono, post method show internal error

My OS: Ubuntu 14.04 LTS Nginx + Mono 4.1.0 MVC I can run .net under /var/www/ and also Get method but when I run POST it will show internal 500 error and I can't got any log from nginx nginx ...
0
votes
0answers
51 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
72 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
0answers
40 views

Add persistent route in asus router

I'm using Asus RT-N66U router as HTTP load balancer and reverse HTTP proxy. To do it I installed Download Tools from stock firmware and nginx server. I moved router's web interface out of 80 port and ...
0
votes
1answer
106 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
0answers
70 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
228 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
245 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 ...
0
votes
0answers
134 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
90 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 ...
0
votes
1answer
747 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 ...
0
votes
1answer
184 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 ...
0
votes
0answers
137 views

How can I use LibreSSL with nginx?

I've been trying to install LibreSSL and then using it with Nginx for better TLS-support. I foound two guides: https://www.mare-system.de/blog/page/1405201517/ ...
1
vote
1answer
364 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
99 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
0answers
29 views

How to deactivate sendfile() in Django runserver

I am running a Django development environment using Vagrant/VirtualBox. I am using runserver for my local testing. However, I have encountered this bug: ...
0
votes
0answers
123 views

nginx not serving php files with curl in fedora 21

phpinfo and php with echo are working fine but with curl gives 403 error. error in chrome: http://localhost/send3.php Failed to load resource: the server responded with a status of 403 (Forbidden) ...
0
votes
0answers
104 views

nginx auth_basic for mac address verification

nginx auth_basic for mac address verification Is it done? Do you have examples? thnx location = / { satisfy any; deny all; auth_basic "Restricted"; ...