Files
testvue/nginx.conf
Carmine Savino 139c8b3547
All checks were successful
GKE Auto-Deploy / build-and-deploy (push) Successful in 32s
test nginx
2026-01-28 18:31:18 +01:00

20 lines
413 B
Nginx Configuration File

user nginx;
worker_processes 1;
events {
worker_connections 1024;
}
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
sendfile on;
keepalive_timeout 65;
server {
listen 80;
server_name localhost;
location / {
root /app;
index index.html;
try_files $uri $uri/ /index.html; # Fondamentale per Vue Router
}
}
}