portainer: fix ingress headers

This commit is contained in:
Alexandre
2025-08-13 20:28:20 +02:00
parent 80475868d8
commit 9e23abf57c
4 changed files with 8 additions and 2 deletions

View File

@@ -1,3 +1,6 @@
## 2.32.0-7 (13-08-2025)
- Fix ingress by clearing conflicting security headers
## 2.32.0-6 (25-07-2025) ## 2.32.0-6 (25-07-2025)
- Update to latest version from portainer/portainer (changelog : https://github.com/portainer/portainer/releases) - Update to latest version from portainer/portainer (changelog : https://github.com/portainer/portainer/releases)

View File

@@ -48,5 +48,5 @@
"slug": "portainer", "slug": "portainer",
"udev": true, "udev": true,
"url": "https://github.com/alexbelgium/hassio-addons", "url": "https://github.com/alexbelgium/hassio-addons",
"version": "2.32.0-6" "version": "2.32.0-7"
} }

View File

@@ -5,6 +5,9 @@ server {
include /etc/nginx/includes/proxy_params.conf; include /etc/nginx/includes/proxy_params.conf;
client_max_body_size 0; client_max_body_size 0;
proxy_hide_header X-Frame-Options;
proxy_hide_header Content-Security-Policy;
add_header X-Frame-Options "SAMEORIGIN";
add_header Content-Security-Policy "frame-ancestors *"; add_header Content-Security-Policy "frame-ancestors *";
location / { location / {

View File

@@ -1,6 +1,6 @@
{ {
"github_havingasset": "true", "github_havingasset": "true",
"last_update": "25-07-2025", "last_update": "13-08-2025",
"repository": "alexbelgium/hassio-addons", "repository": "alexbelgium/hassio-addons",
"slug": "portainer", "slug": "portainer",
"source": "github", "source": "github",