Answers for "redirect http to https nginx digitalocean"

3

digitalocean redirect http to https nginx

server {

    listen 80 default_server;


    server_name _;


    return 301 https://$host$request_uri;

}
Posted by: Guest on June-17-2020

Code answers related to "redirect http to https nginx digitalocean"

Browse Popular Code Answers by Language