remove nginx

This commit is contained in:
2026-04-10 00:25:43 +02:00
parent 9223e4d35f
commit db0a46a0b5
7 changed files with 29 additions and 12 deletions
+11 -2
View File
@@ -1,15 +1,24 @@
server {
listen 80;
root /usr/share/nginx/html;
index index.html;
default_type application/octet-stream;
location / {
try_files $uri $uri/ /index.html;
}
# Cache static assets
location = /index.html {
expires -1;
add_header Cache-Control "no-cache";
}
location ~* \.(js|css|png|jpg|jpeg|gif|ico|svg|woff|woff2)$ {
expires 1y;
add_header Cache-Control "public, immutable";
}
}
add_header X-Content-Type-Options nosniff;
}
+1 -1
View File
@@ -6,7 +6,7 @@ export default defineConfig({
server: {
proxy: {
'/api': {
target: 'http://localhost:3301',
target: 'http://localhost:3001',
changeOrigin: true,
},
},