宝塔用户_iqzmwt 发表于 2024-7-21 18:01:03

【待反馈】添加反向代理网站,自定义配置文件直接复制...

为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:面板9.1,nginx1.24
系统版本:ubuntu24
问题描述:添加反向代理网站,自定义配置文件处直接复制示例内容保存都报错,请给看看问题在哪?
# 可设置server|upstream|map等所有http字段,如:
# server {
#   listen 10086;
#   server_name ...
# }
# upstream stream_ser {
#   server back_test.com;
#   server ...
# }
# 如果反代网站访问异常且这里已经配置了内容,请优先排查此处的配置是否正确

server {
   listen 10086;
   server_name stream_ser
}
upstream stream_ser {
   server back_test.com;
}
相关截图(日志、错误):data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAYgAAAA1CAYAAABbYHw5AAAPlklEQVR4Ae2dbY9WVxWG+yf7B/oHCrFoS6axEtrEmGiNjSTERK31pTGt8YP1m/WDVT6oQUMqNhFIW6aUoQgtFCiFY64Tbry7us55XhiGZ9J7J4e9z97r9V5r73XO88wwjw1pQSAIBIEgEAQaBB5r5jIVBIJAEAgCQWBIgUgSBIEgEASCQItACkQLSyaDQBAIAkEgBSI5EASCQBAIAi0CKRAtLJkMAkEgCASBFIjkQBAIAkEgCLQIpEC0sGQyCASBIBAEUiCSA0EgCASBINAikALRwpLJIBAEgkAQ2LUCcef69eHWe+8O1/781ngxZi4tCASBIBAE9icCD1Qgbn94Ybj885eH81tPD+8/daC9WIMG2rQgEASCQBDYPwisVSBuX7o07Bx7aXj/0MG2KLTF4tDBkQfetCAQBIJAENh8BFYuEJ+e/Puw/ezh5QtDebOAFxlpQSAIBIEgsNkIrFQgrr31p+H800+tXRz0ZoEMZKUFgSAQBILA5iKwdIG48a+3Z79r0OG/bM93E8hMCwJBIAgEgc1EYKkC8fnlj4YPnj/ywG8OtXggE9lpQSAIBIEgsHkILFUg/vvrV3e9OKhYIDstCASBIBAENg+BhQXis+3zw/Y3tyYLBN8nbM/8mCtrc99bIBsd67Zz584NW1tbA/2BAweGxx9/vL2OHz/eq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oDikMKQwJgeSA8mBh5MD+7ZA8PaQN4eHkxTZbME1OZAcIAf2bYHgO4ckcZI4OZAcSA48vBxIgdjFz+uSqA8vUYNtsE0O7H0OpECkQORNLDmQHEgOtDmQApHEaBMjT2t7/7QWzIP5puVACkQKRApEciA5kBxocyAFIonRJsamPcnEnjxdJwf2PgdSIFIgUiCSA8mB5ECbAykQSYw2MfK0tvdPa8E8mG9aDqRApECkQCQHkgPJgTYHUiCSGG1ibNqTTOzJ03VyYO9zIAUiBSIFIjmQHEgOtDnwP0nPyy1h1RN4AAAAAElFTkSuQmCC

运维技术阿闯 发表于 2024-7-22 11:49:54

您好,您这边在评论上传一下您报错的图片,这边无法看到您图片
页: [1]
查看完整版本: 【待反馈】添加反向代理网站,自定义配置文件直接复制...