Do I have to duplicate the Virtualhost directives for port 80 and 443?

后端 未结 6 1262
长发绾君心
长发绾君心 2021-01-30 05:19

I have a long and intricate list of directives, and I have to duplicate them into separate groups for ports 80 and 443 because I\'m using

6条回答
  •  猫巷女王i
    2021-01-30 05:25

    You could also specify the common directives within a container instead of within the itself. That's what I do, mostly because I prefer mod_rewrite rules at the directory level instead of at the server level, but it should work equally well for you too.

提交回复
热议问题