Welcome! Log In Create A New Profile

Advanced

Re: location matching.

Steve Wilson
May 12, 2013 12:30PM
The good news is it looks like subversion clients support SNI so I've
got a new server block which is now working great.

server {
listen 80; ## listen for ipv4
listen 443; ## listen for ipv4
listen [::]:80; ## listen for ipv6
listen [::]:443; ## listen for ipv6
server_name svn.xyz.com;
ssl_certificate /etc/ssl/STAR.xyz.com.pem;
ssl_certificate_key /etc/ssl/STAR.xyz.com.pem;
client_max_body_size 300M;
access_log /var/log/nginx/svn_access.log;
location ^~ /svn {
proxy_pass http://apache;
proxy_set_header X-Real-IP $remote_addr;
}
location / {
return 200 "There's nothing at $scheme://$host$uri";
}
}

Thanks for the help.

Steve.

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

location matching.

Steve Wilson May 12, 2013 10:28AM

Re: location matching.

Jonathan Matthews May 12, 2013 10:56AM

Re: location matching.

Steve Wilson May 12, 2013 11:22AM

Re: location matching.

Jonathan Matthews May 12, 2013 11:36AM

Re: location matching.

Steve Wilson May 12, 2013 11:56AM

Re: location matching.

Steve Wilson May 12, 2013 12:30PM

Re: location matching.

Francis Daly May 13, 2013 07:08AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 70
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready