parent
3caed09307
commit
0283f0ed0b
@ -1,29 +0,0 @@
|
|||||||
#user nobody;
|
|
||||||
worker_processes 1;
|
|
||||||
|
|
||||||
events {
|
|
||||||
worker_connections 1024;
|
|
||||||
}
|
|
||||||
|
|
||||||
http {
|
|
||||||
include mime.types;
|
|
||||||
default_type application/octet-stream;
|
|
||||||
|
|
||||||
sendfile on;
|
|
||||||
client_max_body_size 100M; # 允许上传的最大文件大小为100MB
|
|
||||||
keepalive_timeout 65;
|
|
||||||
|
|
||||||
server {
|
|
||||||
listen 80;
|
|
||||||
server_name ds-exam;
|
|
||||||
|
|
||||||
location / {
|
|
||||||
root html;
|
|
||||||
index index.html index.htm;
|
|
||||||
}
|
|
||||||
|
|
||||||
location /base {
|
|
||||||
proxy_pass http://127.0.0.1:9001/base;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,10 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<title>dsExam</title>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
Welcome to dsExam.
|
|
||||||
</body>
|
|
||||||
</html>
|
|
Loading…
Reference in new issue