Add nginx/server.conf
This commit is contained in:
parent
e770c6dc98
commit
4f037e78f5
1 changed files with 18 additions and 0 deletions
18
nginx/server.conf
Normal file
18
nginx/server.conf
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
server {
|
||||||
|
listen 443 ssl;
|
||||||
|
listen 443 quic;
|
||||||
|
listen [::]:443 ssl;
|
||||||
|
listen [::]:443 quic;
|
||||||
|
|
||||||
|
server_name <replace>;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
proxy_pass http://<replace>;
|
||||||
|
proxy_http_version 1.1;
|
||||||
|
proxy_set_header Connection "";
|
||||||
|
}
|
||||||
|
|
||||||
|
location /.well-known/acme-challenge {
|
||||||
|
root /var/www/html/<replace>;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue