Update nginx/server.conf
This commit is contained in:
parent
4f037e78f5
commit
ac6cef9f50
1 changed files with 5 additions and 2 deletions
|
@ -4,7 +4,10 @@ server {
|
|||
listen [::]:443 ssl;
|
||||
listen [::]:443 quic;
|
||||
|
||||
server_name <replace>;
|
||||
server_name <domain>;
|
||||
|
||||
ssl_certificate /etc/ssl/<domain>/fullchain.pem;
|
||||
ssl_certificate_key /etc/ssl/<domain>/key.pem;
|
||||
|
||||
location / {
|
||||
proxy_pass http://<replace>;
|
||||
|
@ -13,6 +16,6 @@ server {
|
|||
}
|
||||
|
||||
location /.well-known/acme-challenge {
|
||||
root /var/www/html/<replace>;
|
||||
root /var/www/html/<domain>;
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue