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: omc:
name: OMC01 name: OMC01
hosturi: http://127.0.0.1:3030 hosturi: http://127.0.0.1:33030
hostno: A001 hostno: A001
province: GD province: GD
netabbr: HX netabbr: HX

View File

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

View File

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

View File

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

View File

@@ -82,7 +82,7 @@ VALUES (
'4400HX101', '4400HX101',
'OMC_001', 'OMC_001',
'172.16.5.100', '172.16.5.100',
3030, 33030,
'PNF', 'PNF',
'-', '-',
'-', '-',
@@ -114,7 +114,7 @@ VALUES (
'4400HX1IMS001', '4400HX1IMS001',
'IMS_001', 'IMS_001',
'172.16.5.110', '172.16.5.110',
3030, 33030,
'PNF', 'PNF',
'-', '-',
'-', '-',
@@ -146,7 +146,7 @@ VALUES (
'4400HX1AMF001', '4400HX1AMF001',
'AMF_001', 'AMF_001',
'172.16.5.120', '172.16.5.120',
3030, 33030,
'PNF', 'PNF',
'-', '-',
'-', '-',
@@ -178,7 +178,7 @@ VALUES (
'4400HX1AUF001', '4400HX1AUF001',
'AUSF_001', 'AUSF_001',
'172.16.5.130', '172.16.5.130',
3030, 33030,
'PNF', 'PNF',
'-', '-',
'-', '-',
@@ -210,7 +210,7 @@ VALUES (
'4400HX1UDM001', '4400HX1UDM001',
'UDM_001', 'UDM_001',
'172.16.5.140', '172.16.5.140',
3030, 33030,
'PNF', 'PNF',
'-', '-',
'-', '-',
@@ -242,7 +242,7 @@ VALUES (
'4400HX1SMF001', '4400HX1SMF001',
'SMF_001', 'SMF_001',
'172.16.5.150', '172.16.5.150',
3030, 33030,
'PNF', 'PNF',
'-', '-',
'-', '-',
@@ -274,7 +274,7 @@ VALUES (
'4400HX1PCF001', '4400HX1PCF001',
'PCF_001', 'PCF_001',
'172.16.5.160', '172.16.5.160',
3030, 33030,
'PNF', 'PNF',
'-', '-',
'-', '-',
@@ -306,7 +306,7 @@ VALUES (
'4400HX1NSF001', '4400HX1NSF001',
'NSSF_001', 'NSSF_001',
'172.16.5.170', '172.16.5.170',
3030, 33030,
'PNF', 'PNF',
'-', '-',
'-', '-',
@@ -338,7 +338,7 @@ VALUES (
'4400HX1NRF001', '4400HX1NRF001',
'NRF_001', 'NRF_001',
'172.16.5.180', '172.16.5.180',
3030, 33030,
'PNF', 'PNF',
'-', '-',
'-', '-',
@@ -370,7 +370,7 @@ VALUES (
'4400HX1UPF001', '4400HX1UPF001',
'UPF_001', 'UPF_001',
'172.16.5.190', '172.16.5.190',
3030, 33030,
'PNF', 'PNF',
'-', '-',
'-', '-',
@@ -401,7 +401,7 @@ VALUES (
'4400HX1LMF001', '4400HX1LMF001',
'LMF_001', 'LMF_001',
'172.16.5.200', '172.16.5.200',
3030, 33030,
'PNF', 'PNF',
'-', '-',
'-', '-',
@@ -433,7 +433,7 @@ VALUES (
'4400HX1NEF001', '4400HX1NEF001',
'NEF_001', 'NEF_001',
'172.16.5.210', '172.16.5.210',
3030, 33030,
'PNF', 'PNF',
'-', '-',
'-', '-',
@@ -465,7 +465,7 @@ VALUES (
'4400HX1MME001', '4400HX1MME001',
'MME_001', 'MME_001',
'172.16.5.220', '172.16.5.220',
3030, 33030,
'PNF', 'PNF',
'-', '-',
'-', '-',
@@ -497,7 +497,7 @@ VALUES (
'4400HX1IWF001', '4400HX1IWF001',
'N3IWF_001', 'N3IWF_001',
'172.16.5.230', '172.16.5.230',
3030, 33030,
'PNF', 'PNF',
'-', '-',
'-', '-',

View File

@@ -13,10 +13,10 @@ logger:
rest: rest:
- ipv4: 0.0.0.0 - ipv4: 0.0.0.0
ipv6: ipv6:
port: 3030 port: 33030
- ipv4: 0.0.0.0 - ipv4: 0.0.0.0
ipv6: ipv6:
port: 6060 port: 36060
database: database:
type: mysql type: mysql

View File

@@ -15,10 +15,10 @@ logger:
rest: rest:
- ipv4: 0.0.0.0 - ipv4: 0.0.0.0
ipv6: ipv6:
port: 3040 port: 33040
- ipv4: 0.0.0.0 - ipv4: 0.0.0.0
ipv6: ipv6:
port: 3443 port: 33443
scheme: https scheme: https
clientAuthType: 0 clientAuthType: 0
caFile: ./etc/certs/omc-ca.crt caFile: ./etc/certs/omc-ca.crt