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.
31 lines
507 B
31 lines
507 B
|
|
server {
|
|
listen 80;
|
|
listen [::]:80;
|
|
|
|
server_name @server_name@ www.@server_name@;
|
|
|
|
root @public_dir@;
|
|
try_files $uri $uri/ /not_found;
|
|
|
|
location /json/pc {
|
|
proxy_pass 127.0.0.1:1665/json/pc
|
|
}
|
|
|
|
location /json/hr {
|
|
proxy_pass 127.0.0.1:1665/json/hr
|
|
}
|
|
|
|
location /json/batch {
|
|
proxy_pass 127.0.0.1:1665/json/batch
|
|
}
|
|
|
|
location /update {
|
|
proxy_pass 127.0.0.1:1665/update
|
|
}
|
|
|
|
location /not_found {
|
|
return 404;
|
|
}
|
|
}
|