test ingress

This commit is contained in:
Alexandre
2021-11-19 14:49:31 +01:00
parent f9c98ba437
commit 3d62d138f7
14 changed files with 300 additions and 1 deletions

View File

@@ -0,0 +1,23 @@
server {
listen %%interface%%:%%port%% default_server;
include /etc/nginx/includes/server_params.conf;
include /etc/nginx/includes/proxy_params.conf;
client_max_body_size 0;
location ^~ / {
add_header Access-Control-Allow-Origin *;
proxy_read_timeout 30;
proxy_pass http://backend;
proxy_set_header Range $http_range;
proxy_set_header If-Range $http_if_range;
}
location /embywebsocket {
add_header Access-Control-Allow-Origin *;
proxy_read_timeout 30;
proxy_pass http://backend;
}
}