css fixes
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
fastapi[standard]==0.135.2
|
||||
fastapi[standard]==0.135.3
|
||||
sqlalchemy==2.0.49
|
||||
pydantic==2.12.5
|
||||
pydantic==2.13.0
|
||||
pydantic-settings==2.13.1
|
||||
python-jose[cryptography]==3.5.0
|
||||
passlib==1.7.4
|
||||
python-multipart==0.0.20
|
||||
paramiko==3.5.1
|
||||
apscheduler==3.11.0
|
||||
apscheduler==3.11.2
|
||||
requests==2.32.3
|
||||
alembic==1.15.2
|
||||
alembic==1.16.5
|
||||
email-validator==2.2.0
|
||||
pytest==8.3.5
|
||||
httpx==0.28.1
|
||||
|
||||
@@ -151,7 +151,6 @@ body.dark-theme .topbar__lang-select option, body.dark-theme .auth-toolbar__sele
|
||||
background: #1c2631;
|
||||
}
|
||||
|
||||
|
||||
@media (max-width: 991px) {
|
||||
.layout-shell, .layout-shell--collapsed{
|
||||
padding-left: 0;
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -15,7 +15,6 @@ server {
|
||||
server_tokens off;
|
||||
|
||||
add_header X-Content-Type-Options "nosniff" always;
|
||||
add_header X-Frame-Options "SAMEORIGIN" always;
|
||||
add_header Referrer-Policy "strict-origin-when-cross-origin" always;
|
||||
add_header Permissions-Policy "geolocation=(), microphone=(), camera=()" always;
|
||||
|
||||
@@ -24,27 +23,34 @@ server {
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header X-Forwarded-Host $host;
|
||||
proxy_set_header Connection "";
|
||||
proxy_read_timeout 60s;
|
||||
proxy_send_timeout 60s;
|
||||
|
||||
location ^~ /api/ {
|
||||
add_header Cache-Control "no-store, no-cache, must-revalidate" always;
|
||||
add_header Cache-Control "no-store" always;
|
||||
add_header X-Frame-Options "DENY" always;
|
||||
add_header Cross-Origin-Resource-Policy "same-site" always;
|
||||
proxy_pass http://backend_upstream/api/;
|
||||
}
|
||||
|
||||
location = /docs {
|
||||
add_header Cache-Control "no-store, no-cache, must-revalidate" always;
|
||||
add_header Cache-Control "no-store" always;
|
||||
add_header Content-Security-Policy "default-src 'self'; img-src 'self' data: https:; style-src 'self' 'unsafe-inline' https://cdn.jsdelivr.net; script-src 'self' https://cdn.jsdelivr.net; frame-ancestors 'none'; base-uri 'self'; form-action 'self'" always;
|
||||
add_header X-Frame-Options "DENY" always;
|
||||
proxy_pass http://backend_upstream/docs;
|
||||
}
|
||||
|
||||
location = /openapi.json {
|
||||
add_header Cache-Control "no-store, no-cache, must-revalidate" always;
|
||||
add_header Cache-Control "no-store" always;
|
||||
proxy_pass http://backend_upstream/openapi.json;
|
||||
}
|
||||
|
||||
location = /redoc {
|
||||
add_header Cache-Control "no-store, no-cache, must-revalidate" always;
|
||||
add_header Cache-Control "no-store" always;
|
||||
add_header Content-Security-Policy "default-src 'self'; img-src 'self' data: https:; style-src 'self' 'unsafe-inline' https://cdn.jsdelivr.net; script-src 'self' https://cdn.jsdelivr.net; frame-ancestors 'none'; base-uri 'self'; form-action 'self'" always;
|
||||
add_header X-Frame-Options "DENY" always;
|
||||
proxy_pass http://backend_upstream/redoc;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user