浏览代码

deploy##++++$#~++++1234567

κρμγ 4 年之前
父节点
当前提交
3d9a9c6c13
共有 1 个文件被更改,包括 5 次插入5 次删除
  1. 5 5
      nginx.conf

+ 5 - 5
nginx.conf

@@ -29,7 +29,7 @@ http {
 
         location / {
             rewrite /(.*) /code/index.html break;
-            proxy_pass http://frei_backend:8080/;
+            proxy_pass http://frei_backend:8080;
             proxy_redirect     off;
             proxy_set_header   Host             $host:$server_port;
             proxy_set_header   X-Real-IP        $remote_addr;
@@ -40,7 +40,7 @@ http {
         }
 
         location /code {
-            proxy_pass http://frei_backend:8080/;
+            proxy_pass http://frei_backend:8080;
             proxy_redirect     off;
             proxy_set_header   Host             $host:$server_port;
             proxy_set_header   X-Real-IP        $remote_addr;
@@ -51,7 +51,7 @@ http {
         }
 
         location /content {
-            proxy_pass http://frei_backend:8080/code/;
+            proxy_pass http://frei_backend:8080/code;
             proxy_redirect     off;
             proxy_set_header   Host             $host:$server_port;
             proxy_set_header   X-Real-IP        $remote_addr;
@@ -62,7 +62,7 @@ http {
         }
 
         location /assets {
-            proxy_pass http://frei_backend:8080/code/;
+            proxy_pass http://frei_backend:8080/code;
             proxy_redirect     off;
             proxy_set_header   Host             $host:$server_port;
             proxy_set_header   X-Real-IP        $remote_addr;
@@ -73,7 +73,7 @@ http {
         }
 
         location /api/ {
-            proxy_pass http://frei_backend:8080/api/;
+            proxy_pass http://frei_backend:8080;
             proxy_redirect     off;
             proxy_set_header   Host             $host:$server_port;
             proxy_set_header   X-Real-IP        $remote_addr;