Quantcast
Channel: Nginx Forum - How to...
Browsing all 4759 articles
Browse latest View live
↧

Piped Logs in nginx

Hi everyone, in Apache, there is a "Piped Logs" feature [1], which makes it possible to write error and access log files through a pipe to another process, rather than directly to a file; it's...

View Article


Nginx reverse proxy and load balancer at the same time with raspberry

Hi, I'm building a cluster based on raspberry. This cluster contains 4 nodes (raspberry). Three of them each host an Apache server, whose purpose is to deploy a Web application designed in PHP. The...

View Article


Help : Nginx redirecting to wrong webpage

HI, can you help me with this problem where nginx is showing an old webpage. Even though there's no index.html in /var/www/kaufranitz it loads that old page ? Here's the sites-enabled/default conf :...

View Article

Nginx times out after Unoconv fails to convert XLSX to PDF

We use Unoconv to convert XLSX files to PDF and the same is done by calling Unoconv as:...

View Article

nginx proxy_pass to puppetmaster

Hi, I want to use nginx to proxy_pass puppet client requests to my puppet master. My config: upstream puppetmaster { server 192.168.3.10:8140; # } server { listen 192.168.3.200:8140; server_name...

View Article


nginx + rewrite + try_files

Hi, I use Nginx for a file distribution on a server with a lot of files. Files is requested by URI like http://hostname/files/somefiles/GUID/UID/filename.zip. Because there is a really tonn of files on...

View Article

ip_hash, how to

Hello I have webserver application running on ports 82, 83 and 84, on same server. Here is my nginx conf: worker_processes 1; events { worker_connections 1024; } #Server groups# http { upstream backend...

View Article

open_file_cache storage location and verification

I am configuring a server with open_file_cache settings. I would like to verify that the open_file_cache is active and working. Is there a way to do this? Also, how would I go about finding the cache...

View Article


Nginx and Nodejs app on RPi2 - Routing issues

I originally configured the nodejs app on the rpi2 behind a linksys router and the app responded fine from an outside server. Then I installed nginx and added https with a certificate from letsencrypt...

View Article


Re: Nginx and Nodejs app on RPi2 - Routing issues

I just checked the error log and it looks like this: [code] 2017/04/23 19:30:48 [error] 20219#0: *1 upstream prematurely closed connection while reading response header from upstream, c$ 2017/04/23...

View Article

Re: Nginx and Nodejs app on RPi2 - Routing issues

I removed the 50x.html line in the config. Now I get this bad gateway error from hurl.it & the error log on the pi looks like this: 2017/04/23 19:48:27 [error] 20302#0: *1 upstream prematurely...

View Article

Do I need to install php to run nginx?

Im trying to run a nodejs app behind nginx as reverse proxy on https. Do I need to have php installed on my rpi?

View Article

Re: ip_hash, how to

Anybody, please?

View Article


nginx proxy cache with same file name but any context

Hello. I want to caching some html files, with the same file name, but with any (wildcard?) context. It's a bit difficult to me to explain, but: domain.com/getContentById /123456/abcdef/content.html...

View Article

Re: Nginx and Nodejs app on RPi2 - Routing issues

Here is the setup!

View Article


split traffic based on uri

Hello, Working on a new version of a web app, I need to redirect some uri to the new version (including /) while keeping not reworked pages on the old version. Old and new versions are hosted on...

View Article

Bad Gateway on NGinx route to nodejs

This is what my setup looks like: INTERNET (subdomain.domain.com A Record to public IP 186....187) Hurl.it -----POST-----> Public IP: https://186....187/API/switches?sw1?password=123456 ----->...

View Article


Major Manipulate Doubts (couldn't find anywhere)

Hello, i have the following specifc doubts: 1st: it`s possible to concat variables? i mean i want to do an if statement like this: if ($host$request_uri ~ ^https?:\/{2}([^w]{3})(.*)\/$) { set...

View Article

Reverse proxy with multiple interfaces

I use NGINX to reverse proxy incoming requests from a network interface to a WIldfly application server listening on port 8080. The config is simple: server { listen 80; server_name...

View Article

Forwarding port 80 requests using reverse proxy

Hello all, I am not very technologically savvy in the networking realm and I apologize if I fall behind on certain terminology ahead of time. I have a dynamic dns domain through noip.com, which I will...

View Article
Browsing all 4759 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>