forked from Abdulbari/sgeUpdated
Update sge-frontend/nginx.conf
This commit is contained in:
@@ -9,14 +9,51 @@ server {
|
|||||||
try_files $uri /index.html;
|
try_files $uri /index.html;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /api/v1/graphql {
|
location /api/v1/graphql {Logo
|
||||||
proxy_pass http://bgreen-backend:8080/api/v1/graphql;
|
Issues
|
||||||
|
Pull Requests
|
||||||
|
Milestones
|
||||||
|
Explore
|
||||||
|
Abdulbari
|
||||||
|
/
|
||||||
|
sgeUpdated
|
||||||
|
forked from BLC/sgeUpdated
|
||||||
|
Code
|
||||||
|
Pull Requests
|
||||||
|
Actions
|
||||||
|
Activity
|
||||||
|
Settings
|
||||||
|
sgeUpdated
|
||||||
|
/
|
||||||
|
sge-frontend
|
||||||
|
/
|
||||||
|
nginx.conf
|
||||||
|
or Cancel
|
||||||
|
78910111213141516171819202122232425262728293031323334563412
|
||||||
|
|
||||||
|
Commit Changes
|
||||||
|
Update sge-frontend/nginx.conf
|
||||||
|
Add an optional extended description…
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Commit email
|
||||||
|
|
||||||
|
Powered by Gitea
|
||||||
|
Version: 1.24.4 Page:
|
||||||
|
62ms
|
||||||
|
Template:
|
||||||
|
8ms
|
||||||
|
Licenses
|
||||||
|
API
|
||||||
|
$0
|
||||||
|
proxy_pass http://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://bgreen-backend:8080/upload;
|
proxy_pass http://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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user