19 lines
397 B
Nginx Configuration File
19 lines
397 B
Nginx Configuration File
|
|
server {
|
||
|
|
listen 80;
|
||
|
|
server_name _;
|
||
|
|
|
||
|
|
root /usr/share/nginx/html;
|
||
|
|
index index.html;
|
||
|
|
|
||
|
|
location / {
|
||
|
|
try_files $uri $uri/ /index.html;
|
||
|
|
}
|
||
|
|
|
||
|
|
# Optional: increase client body size for file uploads
|
||
|
|
client_max_body_size 50M;
|
||
|
|
|
||
|
|
# Disable access logs by default to reduce noise
|
||
|
|
access_log /var/log/nginx/access.log;
|
||
|
|
error_log /var/log/nginx/error.log warn;
|
||
|
|
}
|