#
luxiaotao1123
2024-12-03 423530a7520e544fedc80205e050d5653bb11da1
#
1个文件已修改
6 ■■■■ 已修改文件
zy-acs-flow/nginx.conf 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-acs-flow/nginx.conf
@@ -1,15 +1,12 @@
user  nginx;
worker_processes  auto;
error_log  /var/log/nginx/error.log notice;
pid        /var/run/nginx.pid;
events {
    worker_connections  2048;
}
http {
    include       /etc/nginx/mime.types;
@@ -42,6 +39,7 @@
    # Http
    location /api/ {
            # rewrite ^/api/(.*)$ /$1 break;  # if you wanna remove proxy prefix
               proxy_pass http://api_backend/api/;
            proxy_set_header Host $host;
            proxy_set_header X-Real-IP $remote_addr;
@@ -86,6 +84,7 @@
        # ssl_certificate_key /path/to/key.pem;
        error_page   500 502 503 504  /50x.html;
        location = /50x.html {
            root   html;
        }
@@ -100,4 +99,5 @@
    #gzip  on;
    include /etc/nginx/conf.d/*.conf;
}