You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
587 B
35 lines
587 B
|
|
server {
|
|
listen 80;
|
|
listen [::]:80;
|
|
|
|
server_name @server_name@ www.@server_name@;
|
|
|
|
root @public_dir@/www;
|
|
try_files $uri /not_found;
|
|
|
|
location / {
|
|
index index.html;
|
|
}
|
|
|
|
location /json/pc {
|
|
proxy_pass http://127.0.0.1:1665/json/pc;
|
|
}
|
|
|
|
location /json/hr {
|
|
proxy_pass http://127.0.0.1:1665/json/hr;
|
|
}
|
|
|
|
location /json/batch {
|
|
proxy_pass http://127.0.0.1:1665/json/batch;
|
|
}
|
|
|
|
location /update {
|
|
proxy_pass http://127.0.0.1:1665/update;
|
|
}
|
|
|
|
location /not_found {
|
|
return 404;
|
|
}
|
|
}
|