Answers for "nginx redirect to port"

0

nginx redirect to port

server {
listen 80; // port to listen on

server_name <server_name>;

// port to return/redirect to:
return 443 https://$server_name$request_uri;
}
Posted by: Guest on October-10-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language