[#24] 优化alertmanager和web的构建

[#25] 反向代理功能实现
[#14] 前端页面优化
This commit is contained in:
xiuting.xu
2025-10-16 15:34:20 +08:00
parent abc739b1be
commit 084c0a3719
38 changed files with 306 additions and 245 deletions

View File

@@ -5,14 +5,6 @@ events {
worker_connections 1024;
}
server {
listen 80 default_server;
server_name _;
location / {
proxy_pass http://web.argus.com:80;
}
}
http {
include mime.types;
@@ -32,5 +24,16 @@ http {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
server {
listen 80 default_server;
server_name _;
location / {
set $web_backend http://web.argus.com:8080;
proxy_pass $web_backend;
}
}
include /etc/nginx/conf.d/*.conf;
}