1232w
This commit is contained in:
parent
8c9d64cc23
commit
b6846972b5
|
|
@ -1,11 +1,16 @@
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name wstkeys.top www.wstkeys.top;
|
server_name wstkeys.top www.wstkeys.top;
|
||||||
|
return 301 https://$host$request_uri;
|
||||||
location /.well-known/acme-challenge/ {
|
|
||||||
root /var/www/certbot;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen 443 ssl;
|
||||||
|
server_name wstkeys.top www.wstkeys.top;
|
||||||
|
|
||||||
|
ssl_certificate /etc/letsencrypt/live/dest2.com/fullchain.pem;
|
||||||
|
ssl_certificate_key /etc/letsencrypt/live/dest2.com/privkey.pem;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://host.docker.internal:5205;
|
proxy_pass http://host.docker.internal:5205;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue