Skip to content

SSL Redirect not working? #765

@spcqike

Description

@spcqike

Checklist

  • Have you pulled and found the error with jc21/nginx-proxy-manager:latest docker image?
    Yes (Version 2.7.1 (72ac549) 2020-11-18 23:10:17 AEST, OpenResty 1.15.8.3, Alpine 3.1 2.0, Kernel 4.15.0-122-generic)
  • Are you sure you're not using someone else's docker image?
    no
  • If having problems with Lets Encrypt, have you made absolutely sure your site is accessible from outside of your network?
    not LE related

Describe the bug
SSL Redirect does not work.
I use a costum SSL Cert (no LE), and checked SSL redirect.
the related proxy.conf gets changed, but there is no redirect. it just adds 2 empty lines between line 25 and line 34 (there are a lot of empty lines, tho)

To Reproduce
create proxy host, add ssl certificate, check redirect.

Expected behavior
add some sort of "return 301 https://$host$request_uri;"

Screenshots
if needed, i can add some

Operating System

  • NPM on Docker 19.03.14, running in a VM on a Dell Server.

Additional context
its possible to access the website through http://sub.domain.com and https://sub.domain.com. the certificate gets handled out and is accepted just fine. there is just no redirect at all :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions