mirror of
https://github.com/netbootxyz/docker-netbootxyz.git
synced 2025-08-07 14:47:24 +02:00
Merge 0bdec08032
into 64a3ba83d3
This commit is contained in:
commit
b5e25a5770
@ -2,6 +2,17 @@ server {
|
|||||||
listen ${NGINX_PORT};
|
listen ${NGINX_PORT};
|
||||||
location / {
|
location / {
|
||||||
root /assets;
|
root /assets;
|
||||||
|
try_files $uri $uri/ @github;
|
||||||
autoindex on;
|
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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user