Nginx subdomain configuration

前端 未结 2 1035
有刺的猬
有刺的猬 2020-12-07 09:04

I have nginx acting as a reverse proxy to apache. I now need to add a new subdomain that will serve files from another directory, but at the same time I want all location an

2条回答
  •  星月不相逢
    2020-12-07 09:24

    Another type of solution would be to autogenerate the nginx conf files via Jinja2 templates from ansible. The advantage of this is easy deployment to a cloud environment, and easy to replicate on multiple dev machines

提交回复
热议问题