From 39a02aff111257989d503398059e5d3201934747 Mon Sep 17 00:00:00 2001 From: Mukesh Murugan Date: Mon, 2 Sep 2024 09:39:20 +0530 Subject: [PATCH] update gitignore --- .gitignore | 1 - src/api/server/appsettings.Development.json | 68 +++++++++++++++++++++ 2 files changed, 68 insertions(+), 1 deletion(-) create mode 100644 src/api/server/appsettings.Development.json diff --git a/.gitignore b/.gitignore index 822e1bd6e..9995d856a 100644 --- a/.gitignore +++ b/.gitignore @@ -458,4 +458,3 @@ $RECYCLE.BIN/ !.vscode/extensions.json **/Internal/Generated -/src/api/server/appsettings.Development.json diff --git a/src/api/server/appsettings.Development.json b/src/api/server/appsettings.Development.json new file mode 100644 index 000000000..e4ff07d0c --- /dev/null +++ b/src/api/server/appsettings.Development.json @@ -0,0 +1,68 @@ +{ + "DatabaseOptions": { + "Provider": "postgresql", + "ConnectionString": "Server=192.168.1.110;Database=fullstackherodb;User Id=postgres;Password=password" + }, + "OriginOptions": { + "OriginUrl": "https://localhost:7000" + }, + "CacheOptions": { + "Redis": "" + }, + "HangfireOptions": { + "Username": "admin", + "Password": "Secure1234!Me", + "Route": "/jobs" + }, + "JwtOptions": { + "Key": "QsJbczCNysv/5SGh+U7sxedX8C07TPQPBdsnSDKZ/aE=", + "TokenExpirationInMinutes": 60, + "RefreshTokenExpirationInDays": 7 + }, + "MailOptions": { + "From": "mukesh@fullstackhero.net", + "Host": "smtp.ethereal.email", + "Port": 587, + "UserName": "sherman.oconnell47@ethereal.email", + "Password": "KbuTCFv4J6Fy7256vh", + "DisplayName": "Mukesh Murugan" + }, + "CorsOptions": { + "AllowedOrigins": [ + "https://localhost:7100", + "http://localhost:7100", + "http://localhost:5010" + ] + }, + "Serilog": { + "Using": [ + "Serilog.Sinks.Console" + ], + "MinimumLevel": { + "Default": "Debug" + }, + "WriteTo": [ + { + "Name": "Console" + } + ] + }, + "RateLimitOptions": { + "EnableRateLimiting": false, + "PermitLimit": 5, + "WindowInSeconds": 10, + "RejectionStatusCode": 429 + }, + "SecurityHeaderOptions": { + "Enable": true, + "Headers": { + "XContentTypeOptions": "nosniff", + "ReferrerPolicy": "no-referrer", + "XXSSProtection": "1; mode=block", + "XFrameOptions": "DENY", + "ContentSecurityPolicy": "block-all-mixed-content; style-src 'self' 'unsafe-inline'; font-src 'self'; form-action 'self'; frame-ancestors 'self'; img-src 'self' data:; script-src 'self' 'unsafe-inline'", + "PermissionsPolicy": "accelerometer=(), camera=(), geolocation=(), gyroscope=(), magnetometer=(), microphone=(), payment=(), usb=()", + "StrictTransportSecurity": "max-age=31536000" + } + } +} \ No newline at end of file