Files
homeassistant-addons/cups/rootfs/etc/nginx/nginx.conf
2022-12-18 20:17:16 +01:00

19 lines
523 B
Nginx Configuration File

events {
}
http {
server {
listen 8099;
location / {
proxy_pass https://localhost:631;
proxy_hide_header X-Frame-Options;
proxy_hide_header Content-Security-Policy;
add_header Content-Security-Policy "sandbox allow-forms allow-modals allow-popups allow-popups-to-escape-sandbox allow-scripts";
sub_filter '"/' '"$http_x_ingress_path/';
sub_filter "'/" "'$http_x_ingress_path/";
sub_filter_once off;
}
}
}