fix: omc.conf for new frame
This commit is contained in:
1 parent
ea6e19fd97
commit
39e31d7647
4 files changed
+44
-40
No files matched your search
@@ -24,22 +24,23 @@ server {
|
||||
# proxy_pass http://127.0.0.1:5050;
|
||||
# }
|
||||
# location /api/rest/aaaa/ {
|
||||
# proxy_pass http://127.0.0.1:4040;
|
||||
# proxy_pass http://127.0.0.1:4040;
|
||||
# }
|
||||
location /api/rest/ {
|
||||
proxy_pass http://127.0.0.1:3030;
|
||||
}
|
||||
proxy_pass http://127.0.0.1:3030;
|
||||
}
|
||||
location / {
|
||||
try_files $uri $uri/ =404;
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
listen 8888 default_server;
|
||||
listen [::]:8888 default_server;
|
||||
root /usr/local/omc/htdocs/front/;
|
||||
index index.html index.htm;
|
||||
server_name localhost;
|
||||
listen 8888 default_server;
|
||||
listen [::]:8888 default_server;
|
||||
root /usr/local/omc/htdocs/front/;
|
||||
index index.html index.htm;
|
||||
server_name localhost;
|
||||
|
||||
location /omc-api/ {
|
||||
proxy_pass http://127.0.0.1:3030/;
|
||||
|
||||
@@ -55,11 +56,11 @@ server {
|
||||
proxy_set_header X-Forwarded-Port $server_port;
|
||||
}
|
||||
|
||||
location / {
|
||||
location / {
|
||||
root /usr/local/omc/htdocs/front;
|
||||
|
||||
try_files $uri $uri/ /index.html;
|
||||
index index.html index.htm;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -24,22 +24,23 @@ server {
|
||||
# proxy_pass http://127.0.0.1:5050;
|
||||
# }
|
||||
# location /api/rest/aaaa/ {
|
||||
# proxy_pass http://127.0.0.1:4040;
|
||||
# proxy_pass http://127.0.0.1:4040;
|
||||
# }
|
||||
location /api/rest/ {
|
||||
proxy_pass http://127.0.0.1:3030;
|
||||
}
|
||||
proxy_pass http://127.0.0.1:3030;
|
||||
}
|
||||
location / {
|
||||
try_files $uri $uri/ =404;
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
listen 8888 default_server;
|
||||
listen [::]:8888 default_server;
|
||||
root /usr/local/omc/htdocs/front/;
|
||||
index index.html index.htm;
|
||||
server_name localhost;
|
||||
listen 8888 default_server;
|
||||
listen [::]:8888 default_server;
|
||||
root /usr/local/omc/htdocs/front/;
|
||||
index index.html index.htm;
|
||||
server_name localhost;
|
||||
|
||||
location /omc-api/ {
|
||||
proxy_pass http://127.0.0.1:3030/;
|
||||
|
||||
@@ -55,11 +56,11 @@ server {
|
||||
proxy_set_header X-Forwarded-Port $server_port;
|
||||
}
|
||||
|
||||
location / {
|
||||
location / {
|
||||
root /usr/local/omc/htdocs/front;
|
||||
|
||||
try_files $uri $uri/ /index.html;
|
||||
index index.html index.htm;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user