http to https

回覆文章
yehlu
Site Admin
文章: 3245
註冊時間: 2004-04-15 17:20:21
來自: CodeCharge Support Engineer

http to https

文章 yehlu »

http://serverfault.com/questions/67316/ ... ng-sub-dom

代碼: 選擇全部

server {
       listen         80;
       server_name    my.domain.com;
       return         301 https://$server_name$request_uri;
}
回覆文章

回到「nginx」