|
|
@@ -6,7 +6,7 @@
|
|
|
|
|
|
server {
|
|
|
listen 8079;
|
|
|
- server_name r_api.hiwavo.com;
|
|
|
+ server_name rapi.hiwavo.com;
|
|
|
charset utf-8;
|
|
|
|
|
|
access_log /opt/git_project/r_api/go/gopath/src/fohow.com/logs/ngx_access.log main;
|
|
|
@@ -46,7 +46,7 @@ server {
|
|
|
# HTTPS server
|
|
|
server {
|
|
|
listen 443 ssl;
|
|
|
- server_name r_api.hiwavo.com;
|
|
|
+ server_name rapi.hiwavo.com;
|
|
|
charset utf-8;
|
|
|
#ssl on;
|
|
|
ssl_certificate /opt/git_project/r_api/go/gopath/src/fohow.com/static/tapi/4048551_tfohowapi.hiwavo.com.pem;
|
|
|
@@ -66,7 +66,7 @@ server {
|
|
|
proxy_set_header Host $host;
|
|
|
proxy_http_version 1.1;
|
|
|
proxy_set_header Connection "";
|
|
|
- proxy_pass http://r_api.hiwavo.com:8079;
|
|
|
+ proxy_pass http://rapi.hiwavo.com:8079;
|
|
|
}
|
|
|
}
|
|
|
|