Skip to content

Instantly share code, notes, and snippets.

@likebeta likebeta/nginx.conf
Last active Sep 13, 2015

Embed
What would you like to do?
nginx config simple
server {
listen 80;
server_name app.ixxoo.me;
charset utf-8;
location /download/ {
autoindex on;
autoindex_localtime on;
autoindex_exact_size off;
charset utf-8;
}
location ~ ^.* {
proxy_pass http://127.0.0.1:8080;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.