based on CentOS7
server {
listen 80 ;
listen [::]:80 ;
server_name vue.moh3n.net;
root /usr/share/nginx/vue/;
index index.html index.htm;
# Load configuration files for the default server block.
include /etc/nginx/default.d/*.conf;
location / {
try_files $uri $uri/ /index.html;
}
error_page 404 /404.html;
location = /404.html {
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
}
}
Comments powered by CComment