Bläddra i källkod

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

κρμγ 4 år sedan
förälder
incheckning
3d9a9c6c13
1 ändrade filer med 5 tillägg och 5 borttagningar
  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;