redis
This commit is contained in:
47
debbuild/etc/nginx/conf.d/omc.conf
Normal file
47
debbuild/etc/nginx/conf.d/omc.conf
Normal 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;
|
||||
}
|
||||
}
|
||||
|
||||
10
debbuild/lib/systemd/system/adb.service
Normal file
10
debbuild/lib/systemd/system/adb.service
Normal 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
|
||||
2084
debbuild/usr/local/db/bin/conf/default/redis.conf
Normal file
2084
debbuild/usr/local/db/bin/conf/default/redis.conf
Normal file
File diff suppressed because it is too large
Load Diff
BIN
debbuild/usr/local/db/bin/redis-cli
Normal file
BIN
debbuild/usr/local/db/bin/redis-cli
Normal file
Binary file not shown.
BIN
debbuild/usr/local/db/bin/redis-server
Normal file
BIN
debbuild/usr/local/db/bin/redis-server
Normal file
Binary file not shown.
Reference in New Issue
Block a user