1
0
Fork 0
mirror of synced 2024-06-28 11:00:55 +12:00

Add embed config to single image nginx config

This commit is contained in:
Andrew Kingston 2023-07-10 09:17:37 +01:00
parent bd54d33c6c
commit 891bcc118a

View file

@ -22,6 +22,16 @@ server {
proxy_pass http://127.0.0.1:4001;
}
location /embed {
rewrite /embed/(.*) /app/$1 break;
proxy_pass http://127.0.0.1:4001;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header x-budibase-embed "true";
add_header x-budibase-embed "true";
add_header Content-Security-Policy "frame-ancestors *";
}
location = / {
proxy_pass http://127.0.0.1:4001;
}