mirror of
https://github.com/KevinMidboe/seasoned.git
synced 2026-03-11 11:55:38 +00:00
* On every route change, update local variables from query params * ResultSection is keyed to query to force re-render * Resolved lint warnings * replace webpack w/ vite * update all imports with alias @ and scss * vite environment variables, also typed * upgraded eslint, defined new rules & added ignore comments * resolved linting issues * moved index.html to project root * updated dockerfile w/ build stage before runtime image definition * sign drone config
31 lines
495 B
Nginx Configuration File
31 lines
495 B
Nginx Configuration File
server {
|
|
listen 5000 default_server;
|
|
listen [::]:5000 default_server;
|
|
|
|
server_name _;
|
|
root /usr/share/nginx/html;
|
|
|
|
gzip on;
|
|
gzip_types application/javascript;
|
|
gzip_min_length 1000;
|
|
gzip_static on;
|
|
|
|
location /favicons {
|
|
autoindex on;
|
|
}
|
|
|
|
location /dist {
|
|
add_header Content-Type application/javascript;
|
|
try_files $uri =404;
|
|
}
|
|
|
|
location /api {
|
|
proxy_pass $SEASONED_API;
|
|
}
|
|
|
|
location / {
|
|
try_files $uri $uri/ /index.html;
|
|
index index.html;
|
|
}
|
|
}
|