Former-commit-id: 37cc3593f39cf5f310230373561d367206fea1f0 Former-commit-id: b1d575021526cb93901f61a0de4a0f6d54a088ed1.0
parent
e505540062
commit
33da10b0d7
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,41 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
||||||
<plist version="1.0">
|
|
||||||
<dict>
|
|
||||||
<key>items</key>
|
|
||||||
<array>
|
|
||||||
<dict>
|
|
||||||
<key>assets</key>
|
|
||||||
<array>
|
|
||||||
<dict>
|
|
||||||
<key>kind</key>
|
|
||||||
<string>software-package</string>
|
|
||||||
<key>url</key>
|
|
||||||
<string>https://iot.edusoa.com/apps/XamarinApp.ipa</string>
|
|
||||||
</dict>
|
|
||||||
<dict>
|
|
||||||
<key>kind</key>
|
|
||||||
<string>display-image</string>
|
|
||||||
<key>needs-shine</key>
|
|
||||||
<true/>
|
|
||||||
<key>url</key>
|
|
||||||
<string>https://iot.edusoa.com/apps/XamarinApp.png</string>
|
|
||||||
</dict>
|
|
||||||
</array>
|
|
||||||
<key>metadata</key>
|
|
||||||
<dict>
|
|
||||||
<key>bundle-identifier</key>
|
|
||||||
<string>com.edusoa.iot</string>
|
|
||||||
<key>bundle-version</key>
|
|
||||||
<string>1.0</string>
|
|
||||||
<key>kind</key>
|
|
||||||
<string>software</string>
|
|
||||||
<key>subtitle</key>
|
|
||||||
<string>XamarinApp</string>
|
|
||||||
<key>title</key>
|
|
||||||
<string>XamarinApp</string>
|
|
||||||
</dict>
|
|
||||||
</dict>
|
|
||||||
</array>
|
|
||||||
</dict>
|
|
||||||
</plist>
|
|
Before Width: | Height: | Size: 35 KiB |
Binary file not shown.
@ -0,0 +1,7 @@
|
|||||||
|
[common]
|
||||||
|
bind_port = 7000
|
||||||
|
vhost_http_port = 7001
|
||||||
|
dashboard_port = 8003
|
||||||
|
dashboard_user = admin
|
||||||
|
dashboard_pwd = admin
|
||||||
|
subdomain_host = iot.edusoa.com
|
@ -0,0 +1,22 @@
|
|||||||
|
server {
|
||||||
|
listen 443 ssl;
|
||||||
|
server_name iot.edusoa.com;
|
||||||
|
|
||||||
|
ssl_certificate edusoa.pem;
|
||||||
|
ssl_certificate_key edusoa.key;
|
||||||
|
ssl_session_timeout 5m;
|
||||||
|
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
|
||||||
|
ssl_ciphers HIGH:!RC4:!MD5:!aNULL:!eNULL:!NULL:!DH:!EDH:!EXP:+MEDIUM;
|
||||||
|
ssl_prefer_server_ciphers on;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
proxy_pass http://127.0.0.1;
|
||||||
|
}
|
||||||
|
|
||||||
|
location ^~ /platform/hub {
|
||||||
|
proxy_pass http://127.0.0.1;
|
||||||
|
proxy_http_version 1.1;
|
||||||
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
|
proxy_set_header Connection "upgrade";
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,7 @@
|
|||||||
|
#docker-compose up -d
|
||||||
|
version: "3.8"
|
||||||
|
services:
|
||||||
|
website:
|
||||||
|
volumes:
|
||||||
|
- ./conf/website/edusoa.pem:/etc/nginx/edusoa.pem
|
||||||
|
- ./conf/website/edusoa.key:/etc/nginx/edusoa.key
|
@ -1,76 +0,0 @@
|
|||||||
user root;
|
|
||||||
worker_processes 4;
|
|
||||||
#error_log logs/error.log;
|
|
||||||
#error_log logs/error.log notice;
|
|
||||||
#error_log logs/error.log info;
|
|
||||||
|
|
||||||
#pid logs/nginx.pid;
|
|
||||||
events {
|
|
||||||
worker_connections 1024;
|
|
||||||
}
|
|
||||||
|
|
||||||
http {
|
|
||||||
include mime.types;
|
|
||||||
default_type application/octet-stream;
|
|
||||||
sendfile on;
|
|
||||||
keepalive_timeout 65;
|
|
||||||
types {
|
|
||||||
application/vnd.android.package-archive apk;
|
|
||||||
application/iphone pxl ipa;
|
|
||||||
text/plain plist;
|
|
||||||
}
|
|
||||||
|
|
||||||
upstream gateway {
|
|
||||||
server 172.172.0.12;
|
|
||||||
}
|
|
||||||
|
|
||||||
server {
|
|
||||||
listen 80;
|
|
||||||
server_name iot.edusoa.com;
|
|
||||||
return 301 https://$host$request_uri;
|
|
||||||
}
|
|
||||||
|
|
||||||
server {
|
|
||||||
#listen 80;
|
|
||||||
listen 443;
|
|
||||||
server_name iot.edusoa.com;
|
|
||||||
|
|
||||||
ssl on;
|
|
||||||
ssl_certificate edusoa.pem;
|
|
||||||
ssl_certificate_key edusoa.key;
|
|
||||||
ssl_session_timeout 5m;
|
|
||||||
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
|
|
||||||
ssl_ciphers HIGH:!RC4:!MD5:!aNULL:!eNULL:!NULL:!DH:!EDH:!EXP:+MEDIUM;
|
|
||||||
ssl_prefer_server_ciphers on;
|
|
||||||
|
|
||||||
location /stub_status {
|
|
||||||
stub_status;
|
|
||||||
allow 127.0.0.1;
|
|
||||||
deny all;
|
|
||||||
}
|
|
||||||
|
|
||||||
location / {
|
|
||||||
root /root/nginx/html/desktop;
|
|
||||||
if ($http_user_agent ~* "(mobile|android|ipad|iphone|ipod|tablet)") {
|
|
||||||
root /root/nginx/html/mobile;
|
|
||||||
}
|
|
||||||
index index.html;
|
|
||||||
}
|
|
||||||
|
|
||||||
location ~* ^/(dfs|live|video|influxdb|UserCenter|IoTCenter|JobServer|portainer|minio|mysqlui|influxui|phpredisadmin|srs)/ {
|
|
||||||
proxy_pass http://gateway;
|
|
||||||
}
|
|
||||||
|
|
||||||
location ^~ /IoTCenter/hub {
|
|
||||||
proxy_pass http://gateway;
|
|
||||||
proxy_http_version 1.1;
|
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
|
||||||
proxy_set_header Connection "upgrade";
|
|
||||||
}
|
|
||||||
|
|
||||||
error_page 500 502 503 504 /50x.html;
|
|
||||||
location = /50x.html {
|
|
||||||
root html;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -0,0 +1 @@
|
|||||||
|
version: "3.8"
|
@ -1 +1 @@
|
|||||||
docker-compose --compatibility -f docker-compose.yml -f docker-compose.prod.yml up --remove-orphans --force-recreate -d
|
docker-compose --compatibility -f docker-compose.yml -f docker-compose.prod.yml -f docker-compose.project.yml up --remove-orphans -d
|
@ -1 +1 @@
|
|||||||
docker-compose --compatibility -f docker-compose.yml -f docker-compose.prod.yml up --remove-orphans -d
|
docker-compose --compatibility -f docker-compose.yml -f docker-compose.prod.yml -f docker-compose.project.yml up --remove-orphans -d
|
Loading…
Reference in new issue