aggiunto il file nginx.conf per configurare il server web con gestione degli errori e routing
Some checks failed
Deploy / deploy (push) Failing after 41s

This commit is contained in:
2026-01-23 08:44:55 +01:00
parent 516f697ba6
commit 6060bfe17e

15
nginx.conf Normal file
View File

@@ -0,0 +1,15 @@
server {
listen 80;
server_name localhost;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
try_files $uri $uri/ /index.html;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
}