Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
server {
listen 81 default;
server_name _;
rewrite ^(.*)$ https://www.domain.com$1;
}
# no need to redirect https, it's already https
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment