Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
274 views
in Technique[技术] by (71.8m points)

node.js - 将.htacees指向使用SSL配置的节点服务器(Pointing .htacees to node server that uses SSL configurations)

I am using the following configurations in .htacess file

(我在.htacess文件中使用以下配置)

# RewriteRule ^(.*)?$ http://127.0.0.1:3001/$1 [P,L] 
# RewriteRule ^(.*)?$ https://127.0.0.1:3001/$1 [P,L]

when I add SSL configurations and use https module in the node server the URL returns 503 services not found but works fine when I remove SSL and use http module.

(当我在节点服务器中添加SSL配置并使用https模块时,URL返回503服务,但找不到,但在删除SSL并使用http模块时工作正常。)

  ask by HaYa Abu Al Halawa translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...