ModernWMS/docker/nginx.conf
ModernWMS 555a753a62
Merge: Merge first commit from release to master (#2)
* init

* Merge: Merge first commit from develop to release (#1)

* init

* init

* init

* first commit

* feat(全局): 增加hook组件, 用于对话框、消息提示; 修改系统标题

* feat(Global):Sync gitee code with frontend on 2023-01-09 09:14.

* feat(Global):Remove 'sqls' file.

* feat(Commodity management): Delete volume verification

* feat(Delivery Management): Modify tab English

* feat(Back End): Synchronize back-end code_2023-01-09 10:33

* feat(package.json):Fixed dependecies version.

* feat(Global):Update the readme.

* feat(Global):Fix the readme.

Co-authored-by: lysddp <lysddp@gmail.com>
Co-authored-by: liufu <809388027@qq.com>
Co-authored-by: Jokerls波吉 <11269866+jokerls-poji@user.noreply.gitee.com>

Co-authored-by: lysddp <lysddp@gmail.com>
Co-authored-by: liufu <809388027@qq.com>
Co-authored-by: Jokerls波吉 <11269866+jokerls-poji@user.noreply.gitee.com>
2023-01-10 14:55:03 +08:00

61 lines
1.5 KiB
Nginx Configuration File

#user nobody;
worker_processes 1;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
log_format main '[$remote_addr] [conn:$connection] [conn_req:$connection_requests] '
'[$time_iso8601] "$request" [$http_referer] [$http_user_agent] '
'[body:$body_bytes_sent] [request_length:$request_length] [status:$status] [request_time:$request_time] [$http_UserName]';
#access_log logs/access.log main;
sendfile on;
#tcp_nopush on;
#keepalive_timeout 0;
keepalive_timeout 65;
#gzip on;
#wms ModernWMS backend
#server {
#listen 21011;
#server_name server localhost; # xxx.xxx.xxx.xxx your ip address
#location / {
# proxy_pass http://127.0.0.1:20011;
# root html;
# index index.html index.htm;
# proxy_set_header X-Real-IP $remote_addr;
#}
#proxy_send_timeout 300;
#proxy_read_timeout 300;
#
#client_max_body_size 1024m;
# client_header_buffer_size 10m;
# large_client_header_buffers 4 10m;
# proxy_buffers 16 1024k;
# proxy_buffer_size 1024k;
#}
#wms ModernWMS frontend
server {
listen 80;
server_name localhost;
location / {
root /frontend/;
index index.html index.htm;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
}
}