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

@@ -9,7 +9,7 @@ logger:
omc:
name: OMC01
hosturi: http://127.0.0.1:3030
hosturi: http://127.0.0.1:33030
hostno: A001
province: GD
netabbr: HX

View File

@@ -15,10 +15,10 @@ logger:
rest:
- ipv4: 0.0.0.0
ipv6:
port: 3030
port: 33030
- ipv4: 0.0.0.0
ipv6:
port: 3443
port: 33443
schema: https
clientAuthType: 0
caFile: /usr/local/omc/etc/certs/omc-ca.crt

View File

@@ -23,7 +23,7 @@ logmml:
# session: single/multiple session for one user
sshd:
listenAddr: 0.0.0.0
listenPort: 2222
listenPort: 22222
privateKey: /usr/local/omc/.ssh/id_rsa
maxConnNum: 20
timeout: 1800
@@ -39,7 +39,7 @@ database:
name: omc_db
omc:
httpUri: http://127.0.0.1:3030
httpUri: http://127.0.0.1:33030
userCrypt: bcrypt
ne:

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;