Selective rewrite/redirection
Hello, everyone, I need some help. I have this:server {listen 443 ssl spdy;server_name example-01.com;[...]}server {listen 443 ssl spdy;server_name example-02.com;[...]}server {listen 443 ssl...
View ArticleRe: Permission on /var/www folder
It is safe, as only the owner has write permissions. Of course, nothing is safe, if the scripts (Perl, PHP, etc.) you run on it are unsafe. May I ask, why the sticky bit (+s)?
View ArticleRe: Installation problem
See: http://askubuntu.com/questions/378558/unable-to-locate-package-while-trying-to-install-packages-by-apt
View ArticleRe: Selective rewrite/redirection
Fastidious Wrote:-------------------------------------------------------> What I am looking for is to automatically redirect all non-SSL to SSL> for those domains (with www, and without) that are...
View ArticleRe: Permission on /var/www folder
Owner != nginxnginx only read rightsIf nginx runs as owner with rw rights your allowing too much.
View ArticleRe: Selective rewrite/redirection
Maybe I wasn't clear enough, of the request got lost in translation. For either, I apologize.For the domains running on SSL (443), I want all requests on 80 for the same domain to be redirected to...
View ArticleRe: Selective rewrite/redirection
Fastidious Wrote:-------------------------------------------------------> For the domains running on SSL (443), I want all requests on 80 for> the same domain to be redirected to their SSL. The...
View ArticleVirtualhost Isolation
With an Apache server I had a number of Wordpress sites on it. When one got hacked they all got messed up. I then added this code to Isolate each site and after that if one got messed up the other ones...
View ArticleRe: Virtualhost Isolation
Your best isolation is to not allow any write access to nginx other then its logfiles.With PHP it is more or less the same except you need to allow some write access for php code that needs this such...
View Articlegzip_types docx xlsx problem
Hi all,I'm using Nginx 1.8 build from source , Centos 6.4 64 bit, when I try to gzip_type directive in my virtualhost.conf I got error, I cannot restart Nginx:<code># if congiguration is :gzip...
View ArticleRe: Permission on /var/www folder
Fastidious Wrote:-------------------------------------------------------> It is safe, as only the owner has write permissions. Of course,> nothing is safe, if the scripts (Perl, PHP, etc.) you...
View ArticleRe: Permission on /var/www folder
itpp2012 Wrote:-------------------------------------------------------> Owner != nginx> nginx only read rights>> If nginx runs as owner with rw rights your allowing too much.So is this...
View ArticleRe: Permission on /var/www folder
zeromaster Wrote:-------------------------------------------------------> itpp2012 Wrote:> -------------------------------------------------------> > Owner != nginx> > nginx only read...
View ArticleProxy response body for errors (e.g. 500)
Looks like nginx removes response body when HTTP code is 5xx.Is there a way to make nginx proxy the original response body?
View Article2 domains with 2 certificates, 1 public IP, 1 nginx server
Hello all,I hope you can help me out here because I cannot figure out why this is happening. I have the following 2 domains:alpha.combeta.comthey both pointing to same server IP:x.x.x.xI have a single...
View ArticleSigned SSL not working on virtual host / server block
Hi,I'm new to NGINX and am having trouble with getting signed SSL certificates to work.Followed this tutorial in setting...
View ArticleRe: 2 domains with 2 certificates, 1 public IP, 1 nginx server
Both are defined as 'default', a default block is only used to capture anything not matched, so remove it from both.
View ArticleRe: Signed SSL not working on virtual host / server block
For SSL you need a second server {} block and a listen 443.ssl_certificate is not going to work for port 80.
View ArticleRe: Permission on /var/www folder
itpp2012 Wrote:-------------------------------------------------------> zeromaster Wrote:> -------------------------------------------------------> > itpp2012 Wrote:> >...
View Article