OL-LearnPlatform/nginx.conf

12 lines
158 B
Nginx Configuration File
Raw Permalink Normal View History

2025-07-22 16:51:54 +08:00
server {
listen 80;
server_name localhost;
root /usr/share/nginx/html;
index index.html;
location / {
try_files $uri $uri/ /index.html;
}
}