fix: omc.conf for new frame
This commit is contained in:
@@ -24,10 +24,10 @@ 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;
|
||||
@@ -35,11 +35,12 @@ server {
|
||||
}
|
||||
|
||||
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,10 +24,10 @@ 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;
|
||||
@@ -35,11 +35,12 @@ server {
|
||||
}
|
||||
|
||||
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,10 +24,10 @@ 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;
|
||||
@@ -35,11 +35,12 @@ server {
|
||||
}
|
||||
|
||||
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,10 +24,10 @@ 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;
|
||||
@@ -35,11 +35,12 @@ server {
|
||||
}
|
||||
|
||||
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