Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
308 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 Answer

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

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...