Finalized Snipe IT role. SAML Support still missing

This commit is contained in:
2025-02-05 15:49:45 +01:00
parent 53af17b2ab
commit dacb3c74fb
4 changed files with 52 additions and 10 deletions

View File

@@ -5,7 +5,7 @@ APP_ENV=production
APP_DEBUG={{enable_debug | string | lower }}
# Please regenerate the APP_KEY value by calling `docker compose run --rm app php artisan key:generate --show`. Copy paste the value here
APP_KEY={{applications.snipe_it.app_key}}
APP_URL=http://{{domain}}
APP_URL=https://{{domain}}
# https://en.wikipedia.org/wiki/List_of_tz_database_time_zones - TZ identifier
APP_TIMEZONE='{{timezone}}'
APP_LOCALE={{locale}}
@@ -87,18 +87,18 @@ EXPIRE_ON_CLOSE=false
ENCRYPT=false
COOKIE_NAME=snipeit_session
COOKIE_DOMAIN=null
SECURE_COOKIES=false
SECURE_COOKIES=true
API_TOKEN_EXPIRATION_YEARS=40
# --------------------------------------------
# OPTIONAL: SECURITY HEADER SETTINGS
# --------------------------------------------
APP_TRUSTED_PROXIES=172.17.0.1 # Docker Gateway
APP_TRUSTED_PROXIES=**
ALLOW_IFRAMING=false
REFERRER_POLICY=same-origin
ENABLE_CSP=false
CORS_ALLOWED_ORIGINS=null
ENABLE_HSTS=false # Certificates managed by nginx
ENABLE_HSTS=true # Certificates managed by nginx
# --------------------------------------------
# OPTIONAL: CACHE SETTINGS