3cd280d068
- Created a global CSS file for styling the frontend with responsive design. - Introduced TypeScript types for various entities including Research, Alpha, and Account. - Implemented Playwright tests for account management and data synchronization workflows. - Configured TypeScript with strict settings and included necessary libraries. - Set up Vite as the build tool with React plugin and API proxy configuration. - Added a Python script to initialize environment variables securely.
19 lines
505 B
Caddyfile
19 lines
505 B
Caddyfile
{$SITE_ADDRESS:http://:80} {
|
|
encode zstd gzip
|
|
header {
|
|
X-Content-Type-Options nosniff
|
|
Referrer-Policy no-referrer
|
|
X-Frame-Options DENY
|
|
Content-Security-Policy "default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; font-src 'self' data:; connect-src 'self'; frame-ancestors 'none'; base-uri 'self'; form-action 'self'"
|
|
-Server
|
|
}
|
|
handle /api/* {
|
|
reverse_proxy backend:8000
|
|
}
|
|
handle {
|
|
root * /srv
|
|
try_files {path} /index.html
|
|
file_server
|
|
}
|
|
}
|