server {
listen 80;
#server_name localhost;
server_name ;
location / {
root /var/www/uni_app/h5;
index ;
}
# location
# root: Search for the received resource according to the /usr/local/nginx/html/dist folder
# index: By default, go to the above path or
error_page 500 502 503 504 /;
location = / {
root html;
}
}