Merge branch 'main' of https://git.blc-css.com/k3n9achi/sgeUpdated
This commit is contained in:
@@ -7,8 +7,8 @@
|
|||||||
|
|
||||||
SKIP_PREFLIGHT_CHECK=true
|
SKIP_PREFLIGHT_CHECK=true
|
||||||
# Vite environment variables
|
# Vite environment variables
|
||||||
REACT_APP_API_BASE_URL=http://localhost:8080/api/v1
|
REACT_APP_API_BASE_URL=https://bgreen.blc-css.com/api/v1
|
||||||
REACT_APP_API_WEBSOCKET_BASE_URL=http://localhost:8080
|
REACT_APP_API_WEBSOCKET_BASE_URL=https://bgreen.blc-css.com
|
||||||
REACT_APP_DEFAULT_EMAIL=info@blc-css.com
|
REACT_APP_DEFAULT_EMAIL=info@blc-css.com
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name _;
|
server_name bgreen.blc-css.com;
|
||||||
|
|
||||||
root /usr/share/nginx/html;
|
root /usr/share/nginx/html;
|
||||||
index index.html index.htm;
|
index index.html index.htm;
|
||||||
@@ -10,22 +10,22 @@ server {
|
|||||||
}
|
}
|
||||||
|
|
||||||
location /api/v1/graphql {
|
location /api/v1/graphql {
|
||||||
proxy_pass http://backend:8080/api/v1/graphql;
|
proxy_pass http://bgreen-backend:8080/api/v1/graphql;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /api/v1/upload {
|
location /api/v1/upload {
|
||||||
proxy_pass http://backend:8080/upload;
|
proxy_pass http://bgreen-backend:8080/upload;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /api/v1/datacenter {
|
# location /api/v1/datacenter {
|
||||||
proxy_pass http://backend:8080/api/v1/datacenter;
|
# proxy_pass http://backend:8080/api/v1/datacenter;
|
||||||
proxy_set_header Host $host;
|
# proxy_set_header Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
# proxy_set_header X-Real-IP $remote_addr;
|
||||||
}
|
# }
|
||||||
|
|
||||||
# Hata durumlarında da index.html'i sun
|
# Hata durumlarında da index.html'i sun
|
||||||
error_page 404 /index.html;
|
error_page 404 /index.html;
|
||||||
|
|||||||
Reference in New Issue
Block a user