server { server_name www.foo.com; rewrite ^/(.*) http://foo.com/$1 permanent; }
This will be working only if host end with /, and you redirect from www.foo.com to foo.com.
Try this example: server { server_name foo.com; rewrite ^(.*)$ http://www.foo.com$1 permanent; }
smime.p7s
Description: S/MIME Cryptographic Signature