Allow ingress

This commit is contained in:
Alexandre
2022-05-14 17:19:07 +02:00
parent a7df29ebf3
commit 0fa73915f6
11 changed files with 258 additions and 1 deletions

View File

@@ -0,0 +1,17 @@
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;
#Allow frame
proxy_hide_header 'x-frame-options';
}
}