Don't fail if file doesn't exist
This commit is contained in:
parent
56de6621b5
commit
d10b66028b
4 changed files with 8 additions and 8 deletions
|
@ -78,7 +78,7 @@ http {
|
|||
include /data/nginx/temp/*.conf;
|
||||
|
||||
# Custom
|
||||
include /data/nginx/custom/http.conf;
|
||||
include /data/nginx/custom/http[.]conf;
|
||||
}
|
||||
|
||||
stream {
|
||||
|
@ -87,4 +87,4 @@ stream {
|
|||
}
|
||||
|
||||
# Custom
|
||||
include /data/nginx/custom/root.conf;
|
||||
include /data/nginx/custom/root[.]conf;
|
||||
|
|
|
@ -42,6 +42,6 @@ server {
|
|||
{% endif %}
|
||||
|
||||
# Custom
|
||||
include /data/nginx/custom/server_proxy.conf;
|
||||
include /data/nginx/custom/server_proxy[.]conf;
|
||||
}
|
||||
{% endif %}
|
||||
|
|
|
@ -26,6 +26,6 @@ server {
|
|||
{% endif %}
|
||||
|
||||
# Custom
|
||||
include /data/nginx/custom/server_redirect.conf;
|
||||
include /data/nginx/custom/server_redirect[.]conf;
|
||||
}
|
||||
{% endif %}
|
||||
|
|
|
@ -9,8 +9,8 @@ server {
|
|||
proxy_pass {{ forward_ip }}:{{ forwarding_port }};
|
||||
|
||||
# Custom
|
||||
include /data/nginx/custom/server_stream.conf;
|
||||
include /data/nginx/custom/server_stream_tcp.conf;
|
||||
include /data/nginx/custom/server_stream[.]conf;
|
||||
include /data/nginx/custom/server_stream_tcp[.]conf;
|
||||
}
|
||||
{% endif %}
|
||||
{% if udp_forwarding == 1 or udp_forwarding == true %}
|
||||
|
@ -19,8 +19,8 @@ server {
|
|||
proxy_pass {{ forward_ip }}:{{ forwarding_port }};
|
||||
|
||||
# Custom
|
||||
include /data/nginx/custom/server_stream.conf;
|
||||
include /data/nginx/custom/server_stream_udp.conf;
|
||||
include /data/nginx/custom/server_stream[.]conf;
|
||||
include /data/nginx/custom/server_stream_udp[.]conf;
|
||||
}
|
||||
{% endif %}
|
||||
{% endif %}
|
Loading…
Reference in a new issue