fix: adjustment port, 3030 change to 33030

This commit is contained in:
2024-03-08 15:32:47 +08:00
parent 40bc3cd4cb
commit afddabb0f9
7 changed files with 34 additions and 34 deletions

View File

@@ -1,6 +1,6 @@
server {
listen 4443 ssl;
listen [::]:4443 ssl;
listen 44443 ssl;
listen [::]:44443 ssl;
server_name 0.0.0.0;
root /usr/local/omc/htdocs/front/;
index index.html index.htm;
@@ -18,22 +18,22 @@ server {
ssl_prefer_server_ciphers on;
# location /api/rest/securityManagement {
# proxy_pass http://127.0.0.1:5050;
# proxy_pass http://127.0.0.1:55050;
# }
# location /api/rest/resourceManagement {
# proxy_pass http://127.0.0.1:5050;
# proxy_pass http://127.0.0.1:55050;
# }
# location /api/rest/performanceManagement {
# proxy_pass http://127.0.0.1:5050;
# proxy_pass http://127.0.0.1:55050;
# }
# location /api/rest/faultManagement {
# proxy_pass http://127.0.0.1:5050;
# proxy_pass http://127.0.0.1:55050;
# }
# location /api/rest/aaaa/ {
# proxy_pass http://127.0.0.1:4040;
# proxy_pass http://127.0.0.1:44040;
# }
location /api/rest/ {
proxy_pass http://127.0.0.1:3030;
proxy_pass http://127.0.0.1:33030;
}
location / {
try_files $uri $uri/ =404;
@@ -41,14 +41,14 @@ server {
}
server {
listen 8888 default_server;
listen [::]:8888 default_server;
listen 38888 default_server;
listen [::]:38888 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/;
proxy_pass http://127.0.0.1:33030/;
proxy_http_version 1.1;
proxy_cache_bypass $http_upgrade;