Serg Podtynnyi : home  blog  projects  links  contacts 

Mozilla Sync server under Nginx

If you want to run Mozilla Sync server behind your Nginx installation, here is the simple config.

upstream mozilla_sync {
        server localhost:5000 fail_timeout=0;
}
server {
        # ... some your stuff
        location /sync/ {
                rewrite /sync/(.*) /$1 break;
                proxy_pass http://mozilla_sync;
        }
}

Remember: Please setup SSL/TLS on your Nginx server for privacy and security.

blog comments powered by Disqus