This commit is contained in:
Andrew Y. 2025-08-01 11:15:45 +10:00 committed by GitHub
commit b5e25a5770
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;
}
}