```
    server {
    listen 80 default_server reuseport;
    include fastcgi_params;

    1. {%- if install_flag == "true" %}
    2. location = /logtail.sh {
    3. alias /var/www/html/kkk.sh;
    4. log_not_found off;
    5. access_log off;
    6. }
    7. location ~ ^/(arm64|x86|windows)/(kkk.tar.gz|kkkl.zip)$ {
    8. alias /var/www/html/$1/$2;
    9. log_not_found off;
    10. access_log off;
    11. }
    12. {%- endif %}
    13. location / {
    14. fastcgi_pass unix:/tmp/fastcgi.socket;
    15. access_log /apsara/nginx/logs/fastcgi_agent_access.log main;
    16. }
    17. }