Skip to content

Changes log filenames from ID to (first) ___domain #2606

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions backend/templates/dead_host.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ server {
{% include "_hsts.conf" %}
{% include "_forced_ssl.conf" %}

access_log /data/logs/dead-host-{{ id }}_access.log standard;
error_log /data/logs/dead-host-{{ id }}_error.log warn;
access_log /data/logs/dead-host-{{ domain_names | first }}_access.log standard;
error_log /data/logs/dead-host-{{ domain_names | first }}_error.log warn;

{{ advanced_config }}

Expand Down
4 changes: 2 additions & 2 deletions backend/templates/proxy_host.conf
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ proxy_set_header Connection $http_connection;
proxy_http_version 1.1;
{% endif %}

access_log /data/logs/proxy-host-{{ id }}_access.log proxy;
error_log /data/logs/proxy-host-{{ id }}_error.log warn;
access_log /data/logs/proxy-host-{{ domain_names | first }}_access.log proxy;
error_log /data/logs/proxy-host-{{ domain_names | first }}_error.log warn;

{{ advanced_config }}

Expand Down
4 changes: 2 additions & 2 deletions backend/templates/redirection_host.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ server {
{% include "_hsts.conf" %}
{% include "_forced_ssl.conf" %}

access_log /data/logs/redirection-host-{{ id }}_access.log standard;
error_log /data/logs/redirection-host-{{ id }}_error.log warn;
access_log /data/logs/redirection-host-{{ domain_names | first }}_access.log standard;
error_log /data/logs/redirection-host-{{ domain_names | first }}_error.log warn;

{{ advanced_config }}

Expand Down