📜  将所有请求配置到一页 nginx - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:18.946000             🧑  作者: Mango

代码示例1
server {

    listen 80;
    listen [::]:80;
    server_name morioh.com;
    root /var/www/morioh.com;
    
    location / {
         try_files $uri $uri/ /index.html;
    }
}