我正在使用Revel框架开发一款小型应用,并添加了SSL。当我更新配置文件中的http.port = 443后,对80端口的请求被拒绝而不是被转发。请问在Revel框架上有没有解决这个问题的方法?谢谢。
# The port on which to listen.
http.port = 443
# Whether to use SSL or not.
http.ssl = true
# Path to an X509 certificate file, if using SSL.
http.sslcert = /root/go/src/saml/AlphaCerts/cert.crt
# Path to an X509 certificate key, if using SSL.
http.sslkey = /root/go/src/saml/star_home_com.key