Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Basic nginx configuration to serve Dropbox Public folder
server {
listen 80;
server_name www.dropbox.dzombak.com;
rewrite ^ http://dropbox.dzombak.com$request_uri? permanent;
}
server {
listen 80;
server_name dropbox.dzombak.com;
root /home/cdzombak/Dropbox/Public;
location / {
autoindex off;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment