📜  nginx 重定向到端口 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:08.085000             🧑  作者: Mango

代码示例1
server {
listen 80; // port to listen on

server_name ;

// port to return/redirect to:
return 443 https://$server_name$request_uri;
}