mirror of
https://github.com/omg-xtao/gc-tools.git
synced 2024-11-21 14:48:34 +00:00
15 lines
311 B
Nginx Configuration File
15 lines
311 B
Nginx Configuration File
|
server {
|
||
|
listen 80;
|
||
|
server_name localhost;
|
||
|
|
||
|
location / {
|
||
|
root /usr/share/nginx/html;
|
||
|
index index.html index.htm;
|
||
|
try_files $uri /index.html;
|
||
|
}
|
||
|
|
||
|
error_page 500 502 503 504 /50x.html;
|
||
|
location = /50x.html {
|
||
|
root /usr/share/nginx/html;
|
||
|
}
|
||
|
}
|