English 中文(简体)
nginx——我能否在不重新启用服务器的情况下增加一个新的虚拟主机?
原标题:nginx - Can I add a new virtual host without restarting the server?

请允许我利用<编码>server建立新的虚拟主机。 <代码>nginx.conf 配置文档中的物体,但不重新启用服务器(不关闭现存链接)?

增 编

问题回答

是的。

http://www.un.org - 重载

或者,你可以向原始程序发送SIGHUP

sudo death -HUP [nginx s pid]





相关问题
Possible to sandbox Python configuration file?

I m thinking of implementing a configuration file written in Python syntax, not unlike what Django does. While I ve seen one or two SO questions about the merits of using executable code in ...

How to validate Java logging properties files?

I have a basic facility for allowing users to remotely apply changes to the logging files in my application. Some logs are configured using java.util.logging properties files, and some are configured ...

Where should I put this configuration setting?

I m designing a fairly small web application which will run on a Sun application server (v9.1). It only has a few pages, no database of its own, and will retrieve/update data via web services. There s ...

.Net application configuration add xml-data

I need to add xml-content to my application configuration file. Is there a way to add it directly to the appSettings section or do I need to implement a configSection? Is it possible to add the xml ...

Dependency bundle (jar-files/sources/API docs) in Eclipse

I m developing various in-house extensions for JIRA, the issue tracker we use. So far I worked with Netbeans and everything worked like a charm. However, now I need to switch to Eclipse and I m ...

热门标签