fix: Preserve HTTPS X-Forwarded-Proto in Nginx and configure SECURE_PROXY_SSL_HEADER in Django to fix 403 CSRF verification on Django Admin

This commit is contained in:
Richard
2026-07-31 11:43:43 +02:00
parent b7a5158254
commit 896dfda240
39 changed files with 366 additions and 499 deletions
+11 -14
View File
@@ -26,12 +26,7 @@ th {
}
.object-tools {
text-align: left;
}
.object-tools li + li {
margin-right: 15px;
margin-left: 0;
float: left;
}
thead th:first-child,
@@ -112,7 +107,7 @@ thead th.sorted .text {
border-left: none;
}
.paginator ul {
.paginator .end {
margin-left: 6px;
margin-right: 0;
}
@@ -124,8 +119,7 @@ thead th.sorted .text {
/* FORMS */
.aligned label,
.aligned legend {
.aligned label {
padding: 0 0 3px 1em;
}
@@ -243,10 +237,18 @@ fieldset .fieldBox {
background-position: 0 -168px;
}
.selector-chooseall {
background: url(../img/selector-icons.svg) right -128px no-repeat;
}
:enabled.selector-chooseall:focus, :enabled.selector-chooseall:hover {
background-position: 100% -144px;
}
.selector-clearall {
background: url(../img/selector-icons.svg) 0 -160px no-repeat;
}
:enabled.selector-clearall:focus, :enabled.selector-clearall:hover {
background-position: 0 -176px;
}
@@ -289,8 +291,3 @@ form .form-row p.datetime {
.selector .selector-chooser {
margin: 0;
}
ul.messagelist li {
padding: 10px 65px 10px 10px;
background-position-x: calc(100% - 40px);
}