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

Help Configuring NGINX with PHP-FPM

Hello, I have a few questions about getting NGINX and PHP-FPM working properly together. I will post my config files for you all to take a look. Essentially what is happening is the root directory and...

View Article


dav delete gets 401

Hi,I've a very simple nginx setup with the standard dav module:client_body_temp_path /tmp/nginx-client-tmp 1 2;create_full_put_path on;client_max_body_size 50m;dav_access user:rw group:rw...

View Article


Multiple nginx.conf files - how do choose?

I compiled nginx from source on Ubuntu 13.* as this is my first foray into NGINX. Once i got the server successfully up and running, I had troubles getting it to obey server contexts for a site I...

View Article

Re: dav delete gets 401

My fault, auth problem no dav problem, sorry for the noise

View Article

Check if NFS mount is active before serving

Hello.Anyone has idea how to check if NFS drive is mounted and alive before serve files from it ?If drive is not alive or not mounted, i want to use copy of the files from NFS mount which is cached...

View Article


Allow HTTP 206 only

HelloI've got a video sharing web site and want to secure video links not to be available for direct download.Site uses HTML5 <video> tag when available and flash plugin when it's not. We do...

View Article

Re: I still have errors like 502 Bad Gateway and upstream problems :/

I meant php-fpm logs... /var/log/php-fpm.log or sort

View Article

URL special characters, punycode and http

I have a URL with special carachters (nicolòzanetti.com), and I'm having problem telling nginx how to handle it to the correct site.With a basic configuration:server_name www.nicolòzanetti.com...

View Article


How to encapsulate HTTP and HTTPS together

Hi all,I have an application running HTTPS, but including some HTTP traffic in an iFrame.I'd like to be able to proxy the HTTP traffic, encapsulate it to HTTPS, so client received HTTPS sessions...

View Article


Re: URL special characters, punycode and http

I found out that this same configuration tested in Firefox has a different output when tested in Chrome.Dzhalagash Wrote:-------------------------------------------------------> server_name...

View Article

Re: URL special characters, punycode and http

You might be better of using wildcards to capture whatever a browser thinks it needs to send, http://nginx.org/en/docs/http/server_names.html use logging to find out where to wildcard.

View Article

Optimal gcc parameters for building nginx from source

HiAre there recommended gcc parameters when building nginx from source - regarding performance and security?--with-cc-opt=parametersI noticed that the prebuilt package on ubuntu used--with-cc-opt='-g...

View Article

Static files logging off + directory access restriction

Hi,I've recently switched from apache to nginx and I'm still struggling with a few minor details:I dont want to log any static files for a particular vhost and I want to restrict the access to a...

View Article


Re: Nginx 1.4.4-4 / limit_conn / limit rate

Upgraded to 1.4.6 and it still does not work. I give it up with that feature.

View Article

Re: Nginx 1.4.4-4 / limit_conn / limit rate

Try a simple google: https://www.google.nl/#q=nginx%20limit%20bandwidth%20per%20connectionThe first page gives plenty of solutions, even a module https://github.com/bigplum/Nginx-limit-traffic-rate-module

View Article


limit rate based on body content

Hi,I am trying to throttle (limit rate) and reverse proxy using nginx.I am able to do that using the location or the request URL path.But is there any way to do that using the Body Content of any...

View Article

Multiple PHP Websites

HiI think I need some help configurate nginx properly.Im running multiple php sites in /usr/share/nginx/www/<subdirectory>, which works well with the nearly default configuration of nginx.Now I...

View Article


Trouble serving html or cgi

I know there's something fundamental I'm doing wrong but I'm thisclose getting nginx to work for me. I have the typical set up where I want any requests to a directory, such as 'mysite.com/pages' be...

View Article

Rewrite Subdomain to URL

I've been stuck on this problem for hours and can't seem to get it working despite trying all the various methods I've seen on here.Basically, I just want to forward my wildcard subdomains to a URL...

View Article

Need help how to push rtmp streams to http streams

Dears,I want to use my Nginx server , to restream rtmp links in http streams.Is this possible?Thanks in advance

View Article
Browsing all 4759 articles
Browse latest View live


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