Finished importer, advanced nginx config for hosts, custom certs used in nginx templates
This commit is contained in:
@ -6,5 +6,6 @@
|
||||
ssl_certificate /etc/letsencrypt/live/npm-{{ certificate_id }}/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/npm-{{ certificate_id }}/privkey.pem;
|
||||
{% endif %}
|
||||
# TODO: Custom SSL paths
|
||||
{% endif %}
|
||||
ssl_certificate /data/custom_ssl/npm-{{ certificate_id }}/fullchain.pem;
|
||||
ssl_certificate_key /data/custom_ssl/npm-{{ certificate_id }}/privkey.pem;
|
||||
{% endif %}
|
||||
|
@ -6,7 +6,7 @@ server {
|
||||
|
||||
access_log /data/logs/dead_host-{{ id }}.log proxy;
|
||||
|
||||
# TODO: Advanced config options
|
||||
{{ advanced_config }}
|
||||
|
||||
return 404;
|
||||
}
|
||||
|
@ -11,7 +11,7 @@ server {
|
||||
|
||||
access_log /data/logs/proxy_host-{{ id }}.log proxy;
|
||||
|
||||
# TODO: Advanced config options
|
||||
{{ advanced_config }}
|
||||
|
||||
location / {
|
||||
{%- if access_list_id > 0 -%}
|
||||
|
@ -8,7 +8,7 @@ server {
|
||||
|
||||
access_log /data/logs/redirection_host-{{ id }}.log proxy;
|
||||
|
||||
# TODO: Advanced config options
|
||||
{{ advanced_config }}
|
||||
|
||||
# TODO: Preserve Path Option
|
||||
|
||||
|
Reference in New Issue
Block a user