Seperating ipv6 and ipv4 traffic

server {
server_name secure.mydomain.com;
listen 443;
gzip on;
gzip_comp_level 1;
gzip_types text/plain text/html text/css
application/x-javascript text/xml text/javascript;
gzip_static on;
gzip_http_version 1.1;
gzip_proxied any;
gzip_disable “msie6”;
gzip_vary on;
ssl on;
ssl_ciphers RC4:ALL:-LOW:-EXPORT:!ADH:!MD5;
keepalive_timeout 0;
ssl_certificate /root/server.pem;
ssl_certificate_key /root/ssl.key;

       location / {
            root   /var/www;
            index  index.html index.htm index.php;
        }

    }

Seems to work well (and accepts both SSL ipv4/ipv6 since they point to
same ip)…
But I’d like to move ipv4-only traffic away to another ip. How is this
done? I’m guessing I create 2 of these, specifying ipv4 in one and
ipv6 in the other?

Ah, also, with using redirect with a request SSL then redirected to a
non-ssl site work?

listen on the IPv6 addr.

On Sun, May 15, 2011 at 03:58:01AM +1200, Ryan B wrote:

Ah, also, with using redirect with a request SSL then redirected to a
non-ssl site work?

Sorry, I do not understand the question.


Igor S.

On Sun, May 15, 2011 at 03:48:19AM +1200, Ryan B wrote:

    gzip_disable        "msie6";
        }

    }

Seems to work well (and accepts both SSL ipv4/ipv6 since they point to
same ip)…
But I’d like to move ipv4-only traffic away to another ip. How is this
done? I’m guessing I create 2 of these, specifying ipv4 in one and
ipv6 in the other?

server {
listen 192.168.1.1:443;
listen […]:443;


Igor S.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs