root 4 년 전
부모
커밋
24ba380265
2개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. 3 3
      https.d/api.conf
  2. 2 2
      nginx.conf

+ 3 - 3
https.d/api.conf

@@ -1,5 +1,5 @@
-upstream nodeapi {
-    server 127.0.0.1:12399;
+upstream nodeapis {
+    server 127.0.0.1:12499;
 }
 server {
   listen       9600 ssl;
@@ -26,7 +26,7 @@ server {
   #add_header Access-Control-Allow-Methods 'GET,POST,OPTIONS'
 
   location /nodeapi/ {
-    proxy_pass              http://nodeapi/;
+    proxy_pass              https://nodeapis/;
     #proxy_set_header        Host $host;
     proxy_set_header        X-Real-IP $remote_addr;
     proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for;

+ 2 - 2
nginx.conf

@@ -20,6 +20,6 @@ http {
     client_max_body_size 200m;
     sendfile        	on;
     keepalive_timeout  	65;
+    #include http.d/*.conf;
     include https.d/*.conf;
-    # include https.d/*.conf;
-}
+}