Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions root/defaults/default
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@ server {
listen ${NGINX_PORT};
location / {
root /assets;
try_files $uri $uri/ @github;
autoindex on;
}

location @github {
rewrite ^ /netbootxyz$uri break;

proxy_buffer_size 128k;
proxy_buffers 4 256k;
proxy_busy_buffers_size 256k;

proxy_pass https://github.com;
}
}