【问题标题】:Can Immutant be configured to use something other than 8080 as well as to use SSL?可以将 Immutant 配置为使用 8080 以外的其他内容以及使用 SSL 吗?
【发布时间】:2023-03-10 11:00:02
【问题描述】:

我正在玩 immutant,想知道如何设置两件事:

  • 设置备用 ssl 端口
  • 使用端口 80 而不是端口 8080

【问题讨论】:

  • 我强烈建议您考虑使用反向代理,例如apache、haproxy、nginx,甚至是硬件负载均衡器来为你做 ssl 解码。这是一种更传统的架构。

标签: clojure immutant


【解决方案1】:

要更改 http 端口,您有两个选项 - 您可以编辑 $IMMUTANT_HOME/jboss/standalone/configuration/standalone.xml 和 更改 <socket-binding name='http' ... 元素,或通过 -Dhttp.port=80lein immutant runstandalone.sh,取决于 关于你如何开始 Immutant。

要更改 https 端口,您目前唯一的选择是编辑 <socket-binding name='https' ... 进入 $IMMUTANT_HOME/jboss/standalone/configuration/standalone.xml

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2011-11-03
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-12-03
    • 2014-05-15
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多