Commit a3c749a8 authored by 王万里's avatar 王万里

feat: 新增nginx配置

parent d152b070
#user nobody;
worker_processes 2;
#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;
#log_format main '$remote_addr - $remote_user [$time_local] "$request" '
# '$status $body_bytes_sent "$http_referer" '
# '"$http_user_agent" "$http_x_forwarded_for"';
#access_log logs/access.log main;
sendfile on;
#tcp_nopush on;
#keepalive_timeout 0;
keepalive_timeout 65;
# gzip on;
server {
listen 8890;
server_name localhost;
charset koi8-r;
# access_log logs/host.access.log main;
location / {
root flowable-engine-fontend;
index index.html index.htm;
}
location /idmweb/ {
proxy_pass http://192.168.12.44:8080/flowable-ui/;
}
location /adminweb/ {
proxy_pass http://192.168.12.44:8080/flowable-ui/;
}
location /taskweb/ {
proxy_pass http://192.168.12.44:8080/flowable-ui/;
}
location /modelerweb/ {
proxy_pass http://192.168.12.44:8080/flowable-ui/;
}
location /CityInterface/ {
proxy_pass http://localhost:8089;
}
# 想要被代理的接口地址:
# http://192.168.12.148:8890/idmfrontend/app/authentication
# 目标接口地址:
# http://192.168.12.148:8080/flowable-ui/app/authentication
}
# another virtual host using mix of IP-, name-, and port-based configuration
#
# 表单设计器
server {
listen 8891;
server_name localhost;
location / {
root form-render;
index index.html index.htm;
}
# location /CityInterface/ {
# proxy_pass http://192.168.12.44:8055;
# }
}
# HTTPS server
#
#server {
# listen 443 ssl;
# server_name localhost;
# ssl_certificate cert.pem;
# ssl_certificate_key cert.key;
# ssl_session_cache shared:SSL:1m;
# ssl_session_timeout 5m;
# ssl_ciphers HIGH:!aNULL:!MD5;
# ssl_prefer_server_ciphers on;
# location / {
# root html;
# index index.html index.htm;
# }
#}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment