Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Nginx vhost redirect to ssl
server {
include listen_80;
server_name www.example.com;
rewrite ^ https://www.example.com$request_uri$is_args$args;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.