new templates
This commit is contained in:
22
templates/nginx.proxy.site
Normal file
22
templates/nginx.proxy.site
Normal file
@@ -0,0 +1,22 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user