反馈问题【BUG】
1Panel 版本:2.13
操作系统(设备): Debian GNU/Linux 12
关键截图:
日志:
https://136.244.93.72:6534/api/v2/websites/proxies/update
500 Internal Server Error
{“id”:9,“operate”:“edit”,“enable”:true,“cache”:false,“cacheTime”:0,“cacheUnit”:“”,“serverCacheTime”:0,“serverCacheUnit”:“”,“name”:“qt",“modifier”:“”,“match”:“/”,“proxyPass”:“http://127.0.0.1:4323”,“proxyHost”:“$host”,“content”:“location / {\n proxy_pass http://127.0.0.1:4323; \n proxy_set_header Host $host; \n proxy_set_header X-Real-IP $remote_addr; \n proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; \n proxy_set_header REMOTE-HOST $remote_addr; \n proxy_set_header Upgrade $http_upgrade; \n proxy_set_header Connection $http_connection; \n proxy_set_header X-Forwarded-Proto $scheme; \n proxy_set_header X-Forwarded-Port $server_port; \n proxy_http_version 1.1; \n add_header X-Cache $upstream_cache_status; \n proxy_ssl_server_name off; \n proxy_ssl_name $proxy_host; \n}”,“filePath”:"/opt/1panel/www/sites/www..com/proxy/***.conf”,“replaces”:{},“sni”:false,“proxySSLName”:“$proxy_host”,“cors”:false,“allowOrigins”:“”,“allowMethods”:“”,“allowHeaders”:“”,“allowCredentials”:false,“preflight”:false,“browserCache”:“noModify”,“proxyProtocol”:“http://”,“proxyAddress”:“127.0.0.1:4323”}