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.
From http://podtynnyi.com/2013/09/07/mozilla-sync-server-under-nginx/
Written by Serg Podtynnyi
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Firefox
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#