diff --git a/docs/databases/table_create.sql b/docs/databases/table_create.sql index 29b3b41..ef5103c 100644 --- a/docs/databases/table_create.sql +++ b/docs/databases/table_create.sql @@ -147,6 +147,6 @@ CREATE TABLE `lpk_reserve_order_goods` ( `goodsNumber` int(11) DEFAULT 1 COMMENT '商品数量', PRIMARY KEY (`id`) USING BTREE -) ENGINE=InnoDB COMMENT='预约订单'; +) ENGINE=InnoDB COMMENT='预约订单商品'; diff --git a/docs/tester/R8m3lfJ6O1.txt b/docs/tester/R8m3lfJ6O1.txt new file mode 100644 index 0000000..0b5cd54 --- /dev/null +++ b/docs/tester/R8m3lfJ6O1.txt @@ -0,0 +1 @@ +cfaeb490877c2297b1485d957c8b99d3 \ No newline at end of file diff --git a/docs/tester/lpk.yyundong.com.conf b/docs/tester/lpk.yyundong.com.conf new file mode 100644 index 0000000..71558c3 --- /dev/null +++ b/docs/tester/lpk.yyundong.com.conf @@ -0,0 +1,64 @@ +server { + listen 80; + listen [::]:80; + listen 443 ssl http2; + server_name lpk.yyundong.com; + client_max_body_size 1000m; + index index.html index.htm; + root /usr/share/nginx/html/lipinka/yyth-ui; + + + #SSL-START SSL相关配置,请勿删除或修改下一行带注释的404规则 + #error_page 404/404.html; + #HTTP_TO_HTTPS_START +# if ($server_port !~ 443){ +# rewrite ^(/.*)$ https://$host$1 permanent; +# } + #HTTP_TO_HTTPS_END + ssl_certificate /usr/share/nginx/html/lipinka/lpk.yyundong.com.pem; + ssl_certificate_key /usr/share/nginx/html/lipinka/lpk.yyundong.com.key; + ssl_protocols TLSv1.1 TLSv1.2 TLSv1.3; + ssl_ciphers EECDH+CHACHA20:EECDH+CHACHA20-draft:EECDH+AES128:RSA+AES128:EECDH+AES256:RSA+AES256:EECDH+3DES:RSA+3DES:!MD5; + ssl_prefer_server_ciphers on; + ssl_session_cache shared:SSL:10m; + ssl_session_timeout 10m; + add_header Strict-Transport-Security "max-age=31536000"; + error_page 497 https://$host$request_uri; + #SSL-END + +#PROXY-START/api/ + +location ^~ /api/ +{ + proxy_pass http://172.18.0.1:17201/; + proxy_set_header Host localhost; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header REMOTE-HOST $remote_addr; + proxy_set_header Upgrade $http_upgrade; + # proxy_hide_header Upgrade; + + add_header X-Cache $upstream_cache_status; + + #Set Nginx Cache + + + set $static_file8U52I41S 0; + if ( $uri ~* "\.(gif|png|jpg|css|js|woff|woff2)$" ) + { + set $static_file8U52I41S 1; + expires 1m; + } + if ( $static_file8U52I41S = 0 ) + { + add_header Cache-Control no-cache; + } +} + +#PROXY-END/api/ + + error_page 500 502 503 504 /50x.html; + location = /50x.html { + root html; + } +} \ No newline at end of file diff --git a/docs/tester/lpk.yyundong.com.txt b/docs/tester/lpk.yyundong.com.txt new file mode 100644 index 0000000..f2b3376 --- /dev/null +++ b/docs/tester/lpk.yyundong.com.txt @@ -0,0 +1,2 @@ +39.104.100.138 这个服务器 +域名 lpk.yyundong.com \ No newline at end of file diff --git a/src/main/resources/application-test.yml b/src/main/resources/application-test.yml index 4d64403..536fa86 100644 --- a/src/main/resources/application-test.yml +++ b/src/main/resources/application-test.yml @@ -29,6 +29,6 @@ spring: image: upload: - path: /home/lzh/docker_data/nginx/html/lpk/yyth-ui/upload/ + path: /home/lzh/docker_data/nginx/html/lipinka/yyth-ui/upload/ url: - prefix: http://jg.yyundong.com/upload/ + prefix: https://jg.yyundong.com/upload/