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

Re: nginx goes down after creation of subdomains

Use email or some other media to handle change requests until you have something like SIT (http://sitracker.org/) in place.

View Article


Re: Log and suppress proxy header

One solution is to add a separate log_format directive including variables for the desired headers, put an access_log directive in the location and map the headers to the variables referenced in the...

View Article


Block file access in specific directory

I need to block access to log files that are stored in a publicly accessible directory from being viewed publicly. These are stored as CGI files and as things are right now, anyone can view the...

View Article

SYNTAX : ~^(?.+)\.MYSITE\.com$

Hello everybody,In 2012, i install nginx on vps it was working without problem under debian 62 weeks ago, my vps stop and my provider no more have debian 6 but 7,so i install the new version on nginx,...

View Article

Reverse Proxy: Dissimilar URL's

So I know how to reverse proxy http://outside/foo to http://inside/foo. How do I reverse proxy http://outside/foo to http://inside/bar? Here is my attempt that does not work:bbCode doesn't seem to work...

View Article


Re: Block file access in specific directory

Anyone?..

View Article

Re: Block file access in specific directory

Sitruc Wrote:-------------------------------------------------------> I need to block access to log files that are stored in a publicly> accessible directory from being viewed publicly. These are...

View Article

NGINX redirection Problem - Please help me

Hello everyone,I am new to Nginx and this forum so I hope you can help me out.I am curently developping a website made out of multiple site.I have 3 independant wordpress sites that are all link via...

View Article


Re: NGINX redirection Problem - Please help me

http://nginx.org/en/docs/http/server_names.html

View Article


Re: NGINX redirection Problem - Please help me

Bellow is what I came up with..server {listen 80;server_name maindomain.com www.maindomain.com;location ~ ^/\~([^/]+)/(.*)$ {location ~ ^/\~wine/(.*)$ {rewrite ^(.*)$ http://wine.maindomain.com$1...

View Article

NGINX 1.7.2 reverse proxy cache update

Dear all,Just setup Nginx 1.7.2 as a reverse proxy to proxied backend server.I have problem about cache content updating. Can I force Nginx toupdate cache content ( maybe just one page )via CTRL-F5...

View Article

NGINX as some sort of token server.

Hi guys,I'm wondering if there is any way to configure nginx to be some sort of token server for some urls.Let me give you an example. There are number of requests to the url like post.php. Some of...

View Article

Re: NGINX as some sort of token server.

This is easily defeated, your better of with something like moving a box with the mouse to access resources.For example https://www.phpbb.com/customise/db/mod/sortables_captcha_plugin/ is a good one.

View Article


Always load index.html

Dear forum members,Please help with a silly question. How to always load index.html? When using php, i use this:location /static/ {if (!-e $request_filename) {return 404;}}location / {include...

View Article

Pass arguments to auth_request module from nginx

I want to protext a live HLS stream. I want to use the auth_request module. I want to check if a request is valid by passing a key. So something like: http://domain.com/hls/stream.m3u8?key=xxxxxxxI...

View Article


Re: NGINX as some sort of token server.

The trouble is I want to take the load from the backend and dump it onto nginx.The solution you're offering is good only for phpBB. How do you want to implement that for a server having 10k multiple...

View Article

Re: Pass arguments to auth_request module from nginx

I also tried something like this, but this also doesn't work:location ~ ^/hls/(long|short)/([0-9a-zA-Z]+)\.m3u8 {alias /tmp/hls/$1/$2.m3u8;auth_request /hls/auth-play/$1/$2;}location ~...

View Article


Reverse proxy redirect to postfix in URL

HiI'm completely new to Nginx and haven't had any success setting up the reverse proxy. What I need to do is redirect URLs of the form http://abcproxy.com/foo/bar to http://foo/bar. What I have right...

View Article

Setting up nginx for streaming with SSL

Hi,I figure this is supposed to be a basic simple task, but there are a lot of things that just do not make sense, and I've tested with Apache and Lighttpd to ascertain the problem lies with nginx. All...

View Article

Re: Setting up nginx for streaming with SSL

Fixed.Curl was the culpritecho insecure >> ~/.curlrcAlso, ensure that your client sends a user-agent tagged request.

View Article
Browsing all 4759 articles
Browse latest View live


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