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

Re: How to catch proxy timeout errors and log them?

Any ideas?

View Article


HTTP caching and ETAG header

Hi,After a lot of unsuccessful research, I'm wondering if it's possible to use nginx cache function to check data freshness it contains using etag attribute in the header.This scenario is easier to...

View Article


Re: nginx always rederict me to my internal ip

anyone? Im running out of nerves :(

View Article

Re: nginx always rederict me to my internal ip

Why not read the documentation: http://nginx.org/en/docs/http/server_names.html

View Article

Re: nginx always rederict me to my internal ip

i've read it multiple times. When i put "noipdomain.org" as server_name it doesn't change anything. (Yes, i restarted nginx with sudo /etc/init.d/nginx restart). I can also put "blablabla" as...

View Article


Re: nginx always rederict me to my internal ip

When you access bla.com a DNS (which is usually your ISP dns) will convert bla.com into whatever the DNS points to, it does not matter where you are. Unless you make an internal DNS entry for example...

View Article

nginx rewrite? try_files? how to try_files if script returned nothing or 404...

I have two files in perl and php e.g script.pl and script.phpphp is listening on 6060.how can i make it such that if script.pl returns nothing (or zero), it will be diverted to script.php?location ~*...

View Article

rtmp-module, push livestream chunk_size and record on

I setup an nginx server compiled with the rtmp-module and I am currently just using push to push my gaming livestream to both hitbox and twitch. I noticed some people use[code]chunk_size 4096[/code]and...

View Article


Re: upstream sent more data than specified in "Content-Length" header while...

I tried turning proxy_buffering off and that took that message away. However, I am seeing more of "upstream prematurely closed connection while sending to client" errors. Am I correct in thinking that...

View Article


Is there a way to cache only GET Ajax request?

Usually I have in nginx config rules which does not allow cache all XMLHttpRequest map $http_x_requested_with $nocache_01 { default 0; XMLHttpRequest 1; }Is there a way to cache only GET Ajax...

View Article

Re: Is there a way to cache only GET Ajax request?

Anything in $request you can test for ?

View Article

Replace paths from URI

I want to rewritehttps://mydomain.com/app#/listClients?token=e34f14bae3fb68ecb042328f1b5a6d9tohttps://mynewdomain/new-path#/listClients?token=e34f14bae3fb68ecb042328f1b5a6d9ie., I want to replace...

View Article

error help me look

visit:l27.0.0.1/test.jsp is ok,but:visit:l27.0.0.1 skip to>>http://127.0.0.1/mem/index.jhtmlhint:404 Not Foundvisit:http://172.16.0.103:8080 skip to>>http://127.0.0.1:8080/mem/login.jhtml...

View Article


how limit download speed in directadmin Nginx

HelloI install directadmin (CB2) + Nginx and i want to limit the speed download .How i can do it ?Please help meThanks

View Article

GetSimple CMS with NGINX

Hi,I'm trying to secure GetSimple CMS, but I'm not able to disallow the download of files in the /admin/ folder, when using tools like curl or wget.---------------------------The server runs archlinux...

View Article


How to configure nginx for fastCGI (not php)

Hi all,sorry if my request seems stupid but I am completely a newbie on nginx.I tried to find the solution by myself and searching on this forum and on internet but I had no luck.Basically I have an...

View Article

Re: How to configure nginx for fastCGI (not php)

The same you would for php, php-cgi listens on a port, so does your application.

View Article


Re: How to configure nginx for fastCGI (not php)

itpp2012 Wrote:-------------------------------------------------------> The same you would for php, php-cgi listens on a port, so does your> application.Hi,sorry... I haven't been clear.The...

View Article

Re: How to configure nginx for fastCGI (not php)

mirko1974 Wrote:-------------------------------------------------------> itpp2012 Wrote:> -------------------------------------------------------> > The same you would for php, php-cgi...

View Article

Nginx RewriteRule Help me please !!!‏

Hi, I purchased this script in codecanyon.net (http://codecanyon.net/item/mouse-media-script/7773254) But permalinks not working. I've added the script .htaccess files to topic. Please help me.Thanks.Я...

View Article
Browsing all 4759 articles
Browse latest View live


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