1
0
This commit is contained in:
2023-09-13 15:50:12 +08:00
parent 7f8108ae77
commit 36eac6b912
7 changed files with 2141 additions and 0 deletions

View File

@@ -0,0 +1,47 @@
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name 0.0.0.0;
root /usr/local/omc/htdocs/front/;
index index.html index.htm;
server_name localhost;
# SSL
#ssl_certificate /usr/local/omc/etc/certs/ca_cert.pem;
#ssl_certificate_key /usr/local/omc/etc/certs/private_key.pem;
ssl_certificate /usr/local/omc/etc/certs/tsa-omc.pem;
ssl_certificate_key /usr/local/omc/etc/certs/tsa-omc_pri.pem;
# location /api/rest/securityManagement {
# proxy_pass http://127.0.0.1:5050;
# }
# location /api/rest/resourceManagement {
# proxy_pass http://127.0.0.1:5050;
# }
# location /api/rest/performanceManagement {
# proxy_pass http://127.0.0.1:5050;
# }
# location /api/rest/faultManagement {
# proxy_pass http://127.0.0.1:5050;
# }
# location /api/rest/aaaa/ {
# proxy_pass http://127.0.0.1:4040;
# }
location /api/rest/ {
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;
location / {
try_files $uri $uri/ =404;
}
}

View File

@@ -0,0 +1,10 @@
[Service]
Type=forking
ExecStart=/usr/local/db/bin/redis-server /usr/local/db/bin/conf/redis.conf
ExecStopPost=
PIDFile=
Restart=always
RestartSec=3
[Install]
WantedBy=multi-user.target

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.