【发布时间】:2014-02-13 01:52:06
【问题描述】:
我正在尝试修改 Nginx 配置文件以删除“重写”。
目前,我有这个配置文件:
worker_processes 1;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
keepalive_timeout 65;
server {
listen 80;
server_name amc.local;
return 301 https://$host:8443/index.html;
}
}
现在我想重新加载这个配置文件,我试过了
nginx -s reload
nginx -c <conf file>
nginx -s stop/start
在日志文件中,有一行
2014/01/22 11:25:25 [notice] 1310#0: signal process started
但未加载修改。
【问题讨论】:
标签: configuration nginx webserver