We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1e1305 commit 70275a4Copy full SHA for 70275a4
api/oracle-cloud/nginx.conf
@@ -6,18 +6,8 @@ http {
6
server {
7
client_max_body_size 10M;
8
listen 80;
9
- # redirect traffic from lh-stage.dzcode.io, lh_stage.dzcode.io, lh.dzcode.io to lhserver:9001
10
- # and from api-stage.dzcode.io, api_stage.dzcode.io, api.dzcode.io to api:7070
+
11
location / {
12
- if ($host ~* ^lh-stage.dzcode.io$) {
13
- proxy_pass http://lhserver:9001;
14
- }
15
- if ($host ~* ^lh_stage.dzcode.io$) {
16
17
18
- if ($host ~* ^lh.dzcode.io$) {
19
20
21
if ($host ~* ^api-stage.dzcode.io$) {
22
proxy_pass http://api:7070;
23
}
0 commit comments