|
@@ -9,20 +9,20 @@ server {
|
|
|
server_name r_api.hiwavo.com;
|
|
server_name r_api.hiwavo.com;
|
|
|
charset utf-8;
|
|
charset utf-8;
|
|
|
|
|
|
|
|
- access_log /home/rails/winha/api/go/gopath/src/fohow.com/logs/ngx_access.log main;
|
|
|
|
|
- error_log /home/rails/winha/api/go/gopath/src/fohow.com/logs/ngx_error.log;
|
|
|
|
|
|
|
+ access_log /opt/git_project/r_api/api/go/gopath/src/fohow.com/logs/ngx_access.log main;
|
|
|
|
|
+ error_log /opt/git_project/r_api/api/go/gopath/src/fohow.com/logs/ngx_error.log;
|
|
|
|
|
|
|
|
location /.well-known/pki-validation/ {
|
|
location /.well-known/pki-validation/ {
|
|
|
- alias /home/rails/winha/api/go/gopath/src/fohow.com/static/tapi/;
|
|
|
|
|
|
|
+ alias /opt/git_project/r_api/api/go/gopath/src/fohow.com/static/tapi/;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
location =/MP_verify_WKpffc3SRB4yjEzI.txt {
|
|
location =/MP_verify_WKpffc3SRB4yjEzI.txt {
|
|
|
- root /home/rails/winha/api/go/gopath/src/fohow.com/static/tapi/;
|
|
|
|
|
|
|
+ root /opt/git_project/r_api/api/go/gopath/src/fohow.com/static/tapi/;
|
|
|
#expires 30d;
|
|
#expires 30d;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
location =/stcXSY70Qh.txt {
|
|
location =/stcXSY70Qh.txt {
|
|
|
- root /home/rails/winha/api/go/gopath/src/fohow.com/static/tapi/;
|
|
|
|
|
|
|
+ root /opt/git_project/r_api/api/go/gopath/src/fohow.com/static/tapi/;
|
|
|
#expires 30d;
|
|
#expires 30d;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -49,8 +49,8 @@ server {
|
|
|
server_name r_api.hiwavo.com;
|
|
server_name r_api.hiwavo.com;
|
|
|
charset utf-8;
|
|
charset utf-8;
|
|
|
#ssl on;
|
|
#ssl on;
|
|
|
- ssl_certificate /home/rails/winha/api/go/gopath/src/fohow.com/static/tapi/4048551_tfohowapi.hiwavo.com.pem;
|
|
|
|
|
- ssl_certificate_key /home/rails/winha/api/go/gopath/src/fohow.com/static/tapi/4048551_tfohowapi.hiwavo.com.key;
|
|
|
|
|
|
|
+ ssl_certificate /opt/git_project/r_api/api/go/gopath/src/fohow.com/static/tapi/4048551_tfohowapi.hiwavo.com.pem;
|
|
|
|
|
+ ssl_certificate_key /opt/git_project/r_api/api/go/gopath/src/fohow.com/static/tapi/4048551_tfohowapi.hiwavo.com.key;
|
|
|
|
|
|
|
|
ssl_session_cache shared:SSL:1m;
|
|
ssl_session_cache shared:SSL:1m;
|
|
|
ssl_session_timeout 5m;
|
|
ssl_session_timeout 5m;
|