yes
This commit is contained in:
parent
2f991d9743
commit
985c636360
36 changed files with 6507 additions and 2 deletions
|
|
@ -6,7 +6,7 @@ server {
|
|||
|
||||
server_name $NGINX_DOMAIN;
|
||||
|
||||
if ($host = example.com) {
|
||||
if ($host = $NGINX_DOMAIN) {
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
return 404;
|
||||
|
|
@ -21,6 +21,7 @@ server {
|
|||
ssl_certificate /etc/ssl/certs/nginx-selfsigned.crt;
|
||||
ssl_certificate_key /etc/ssl/private/nginx-selfsigned.key;
|
||||
ssl_protocols TLSv1.3;
|
||||
|
||||
|
||||
proxy_set_header X-Forwarded true;
|
||||
include conf.d/locations/*.conf;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue