Skip to content

Instantly share code, notes, and snippets.

@Razer6
Last active January 1, 2016 23:38
Show Gist options
  • Save Razer6/8217386 to your computer and use it in GitHub Desktop.
Save Razer6/8217386 to your computer and use it in GitHub Desktop.
pyload nginx config
# PyLoad
# Maintainer: @razer6
server {
listen *:80 default_server; # e.g., listen 192.168.1.1:80; In most cases *:80 is a good idea
server_name YOUR_SERVER_FQDN; # e.g., server_name source.example.com;
server_tokens off; # don't show the version number, a security best practice
proxy_pass: 127.0.0.1:8000;
# Set value of client_max_body_size to at least the value of git.max_size in gitlab.yml
client_max_body_size 5m;
# individual nginx logs for this gitlab vhost
access_log /var/log/nginx/pyload_access.log;
error_log /var/log/nginx/pylaod_error.log;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment