23 lines
578 B
Plaintext
23 lines
578 B
Plaintext
server {
|
|
set $forward_scheme <<PROXY_SCHEME>>;
|
|
set $server "<<PROXY_IP>>";
|
|
set $port <<PROXY_PORT>>;
|
|
|
|
listen 80;
|
|
listen 443 ssl http2;
|
|
|
|
server_name <<HOSTNAME>>;
|
|
|
|
include conf.d/include/letsencrypt-acme-challenge.conf;
|
|
include conf.d/include/ssl-ciphers.conf;
|
|
ssl_certificate /etc/letsencrypt/live/<<HOSTNAME>>/fullchain.pem;
|
|
ssl_certificate_key /etc/letsencrypt/live/<<HOSTNAME>>/privkey.pem;
|
|
|
|
access_log /var/log/nginx/proxy-<<HOSTNAME>>.log proxy;
|
|
|
|
location / {
|
|
include conf.d/include/force-ssl.conf;
|
|
include conf.d/include/proxy.conf;
|
|
}
|
|
}
|