Amend port
This commit is contained in:
@@ -32,7 +32,7 @@ http {
|
||||
}
|
||||
|
||||
server {
|
||||
listen 7070;
|
||||
listen 80;
|
||||
server_name localhost;
|
||||
root /usr/share/nginx/html;
|
||||
index index.html;
|
||||
@@ -57,7 +57,7 @@ http {
|
||||
}
|
||||
|
||||
location /api/ {
|
||||
proxy_pass http://backend:8080/;
|
||||
proxy_pass http://backend;
|
||||
|
||||
# Headers for both simple and preflight requests
|
||||
add_header 'Access-Control-Allow-Origin' '$http_origin' always;
|
||||
|
||||
Reference in New Issue
Block a user