Skip to content

Force HTTPS #109

@Germwalker

Description

@Germwalker

Hello,

Can you force the HTTPS redirection like the certbot --nginx plugin ?
It's more safe than the current implementation.

Like appending this to the conf file :

server {
    if ($host = example.com) {
        return 301 https://$host$request_uri;
    } # managed by Certbot

    server_name example.com;
    listen 80;
    return 404; # managed by Certbot
}

Maybe it could be a button to force the HTTPS redirection ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions