优化k8s部署提交

master
paulGao 2022-06-16 14:08:46 +08:00
parent 274ac3f155
commit 23bae9efd5
4 changed files with 34 additions and 47 deletions

View File

@ -7,13 +7,10 @@ worker_processes 1;
#error_log logs/error.log info; #error_log logs/error.log info;
#pid logs/nginx.pid; #pid logs/nginx.pid;
events { events {
worker_connections 1024; worker_connections 1024;
} }
http { http {
include mime.types; include mime.types;
default_type application/octet-stream; default_type application/octet-stream;
@ -23,7 +20,6 @@ http {
# '"$http_user_agent" "$http_x_forwarded_for"'; # '"$http_user_agent" "$http_x_forwarded_for"';
#access_log logs/access.log main; #access_log logs/access.log main;
sendfile on; sendfile on;
#tcp_nopush on; #tcp_nopush on;
@ -40,7 +36,6 @@ http {
server { server {
listen 10000; listen 10000;
server_name localhost;
location / { location / {
root /app; root /app;

View File

@ -78,7 +78,7 @@
<div class="item-price-row" v-else> <div class="item-price-row" v-else>
<!-- 批发价格 --> <!-- 批发价格 -->
<div v-if="wholesaleNum.length"> <div v-if="wholesaleNum && wholesaleNum.length">
<div class="flex"> <div class="flex">
<div class="item-price-title"> <div class="item-price-title">
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;

View File

@ -7,8 +7,6 @@ worker_processes 1;
#error_log logs/error.log info; #error_log logs/error.log info;
#pid logs/nginx.pid; #pid logs/nginx.pid;
events { events {
worker_connections 1024; worker_connections 1024;
} }
@ -23,7 +21,6 @@ http {
# '"$http_user_agent" "$http_x_forwarded_for"'; # '"$http_user_agent" "$http_x_forwarded_for"';
#access_log logs/access.log main; #access_log logs/access.log main;
sendfile on; sendfile on;
#tcp_nopush on; #tcp_nopush on;
@ -40,7 +37,6 @@ http {
server { server {
listen 10003; listen 10003;
server_name localhost;
location / { location / {
root /app; root /app;

View File

@ -7,8 +7,6 @@ worker_processes 1;
#error_log logs/error.log info; #error_log logs/error.log info;
#pid logs/nginx.pid; #pid logs/nginx.pid;
events { events {
worker_connections 1024; worker_connections 1024;
} }
@ -23,7 +21,6 @@ http {
# '"$http_user_agent" "$http_x_forwarded_for"'; # '"$http_user_agent" "$http_x_forwarded_for"';
#access_log logs/access.log main; #access_log logs/access.log main;
sendfile on; sendfile on;
#tcp_nopush on; #tcp_nopush on;
@ -40,7 +37,6 @@ http {
server { server {
listen 10002; listen 10002;
server_name localhost;
location / { location / {
root /app; root /app;