mirror of
https://github.com/mtan93/homeassistant-addons.git
synced 2026-05-09 14:26:03 +01:00
Initial add of cups add-on
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user