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