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

Re: Single Concurrency

Ok, so it sounds possible.What I'm still not sure about is how to configure the proxy configurations, such that each port is being used in a single concurrency mode.Do I need to set some kind of max...

View Article


Re: Single Concurrency

sacon Wrote:-------------------------------------------------------> Do I need to set some kind of max connections for each host:port (to> 1?) or will Nginx just figure this out and queue...

View Article


How can I grab content from ngx_http_request_t?

Hi all,I am building a module which talks to my other c++ applications. So far I am able to read uri, args, content type and content length from header. But I am not sure where is the actual content...

View Article

serve mp3 files as regular http

I have an issue with media files that can be played on an embedded Flowplayer player served by a rails application, where the file can be played, but pause button doesn't work subsequently and the...

View Article

rewrite rule for file paths

HiWe have migrated a site from Drupal 6 to Drupal 7 - from one apache server to another (old live to staging) - and many of the files (image files) have already been encoded twice %20 to %2520. Now...

View Article


502 Bad Gateway nginx + nodejs

Hello,I'm using NGinx + nodejs, but I quite often have 502 Bad Gateway error, I've tried to find sources of tutorials but have not found a sure how to handle this until absolutely no problems 502 Bad...

View Article

Re: 502 Bad Gateway nginx + nodejs

I know its extremely rare that anyone ever answers anything on this forum ;-) but have you had a look at this..It solved the issue for me.http://www.nginxtips.com/502-bad-gateway-using-nginx/

View Article

using nginx to save incoming data/request to file

i am looking for a solution to save data sent via http (e.g. as a POST) as quickly as possible (with lowest overhead) via nginx (v1.2.9). i tried the following nginx configuration, but am not seeing...

View Article


wordpress - permalinks with .php in url not working

I'm moving a site from an Apache server to a nginx server. A lot of the pages have a .php extension at the end of the permalink. Trying to view those pages results in a nginx 404 Not Found. However...

View Article


Re: wordpress - permalinks with .php in url not working

I ended up changinglocation ~ ^/.*\.php$ {try_files $uri = 404;fastcgi_pass unix:/var/run/php5-fpm.sock;fastcgi_index index.php;include fastcgi_params;}tolocation ~ ^/.*\.php$ {try_files $uri $uri/...

View Article

Re: Nginx as Load Bal to ADFS IIS

No I eventually built a IIS 7.5 Load Balancer - Microsoft has been updating it IIS platform to support configs that everyone else is already doing.This handled the SSL traffic with the authentication.

View Article

OBS streaming with condition

Right now, I have the following script to dual stream on both Hitbox and Twitch (You don't need to look at...

View Article

path param and query param in nginx

I have an upstream nginx module with redis in the backend. The '/upstream/key/12345678' is the HTTP request which i need to process, i.e check if there is an entry for 12345678 in redis store and...

View Article


Codeigniter plesk and nginx

I'd need help configuring a site developed with codeigniter on my vps plesk and with nginxAll standard controllers work perfectly, but when I try to use a controller created by me, from a 404.I do not...

View Article

How to activate Gzip

Hey,im trying to enable Gzip compression for a website.Its a shared Hosting package.I have tried it with:<ifModule mod_gzip.c>mod_gzip_on Yesmod_gzip_dechunk Yesmod_gzip_item_include file...

View Article


how to view online users on nginx web directory

Hello, i was wondering if it is possible to view online users once set up nginx web directory, (i have a little server with some videos on + nginx) and i would like to create users to let people watch...

View Article

Dynamic server name

Hello!My Nginx config currently looks like this:server {listen 80;server_name ~^(www\.)?(?<domain>.+?).abc$;root /usr/share/nginx/$domain;index index.html index.htm;}It works like it should, when...

View Article


Nginx Configuration for Mono Web Service

Hi Guys,I have a web service written in C# using Mono. I'm running nginx v 1.4.6 on Ubuntu server v14.04. The service works perfectly using xsp4 (Mono's ASP.NET Web Server) but on nginx, it downloads...

View Article

upstream sent invalid header while reading response

Hello. I've got backend (fapws python server).There is a problem when backend sets field expires= in Set-Cookie2015/06/17 08:59:22 [debug] 27687#0: *8 http proxy header: "Date: Wed, 17 Jun 2015...

View Article

Re: How to activate Gzip

Take a look at http://nginx.org/en/docs/http/ngx_http_gzip_module.html

View Article
Browsing all 4759 articles
Browse latest View live