部署叶服务器的nginx配置文件中包含了必要的服务器配置,以确保正确地监听HTTP和HTTPS流量,并且定义了错误页面的位置。同时,更新了manifest.yaml中应用的镜像版本,以包含修复和新配置。
14 lines
310 B
Nginx Configuration File
14 lines
310 B
Nginx Configuration File
server {
|
|
listen 80;
|
|
listen [::]:80;
|
|
server_name localhost;
|
|
location / {
|
|
root /usr/share/nginx/html;
|
|
index index.html;
|
|
try_files $uri $uri/ /index.html;
|
|
}
|
|
error_page 500 502 503 504 /50x.html;
|
|
location = /50x.html {
|
|
root /usr/share/nginx/html;
|
|
}
|
|
} |