mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
Redirect to https://login.example.com to avoid errors due to https://localhost
This commit is contained in:
parent
f61a052bf5
commit
694840790b
|
@ -5,6 +5,16 @@ events {
|
||||||
}
|
}
|
||||||
|
|
||||||
http {
|
http {
|
||||||
|
server {
|
||||||
|
listen 443 ssl;
|
||||||
|
server_name _;
|
||||||
|
|
||||||
|
ssl_certificate /etc/ssl/server.crt;
|
||||||
|
ssl_certificate_key /etc/ssl/server.key;
|
||||||
|
|
||||||
|
return 301 https://home.example.com:8080/;
|
||||||
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl;
|
listen 443 ssl;
|
||||||
server_name login.example.com;
|
server_name login.example.com;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user