backup nginx.conf when configuring service
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
@@ -162,7 +162,7 @@ include_shell "/usr/share/lighttpd/include-conf-enabled.pl"
|
||||
</visibility>
|
||||
<content><![CDATA[apt-get install php-cgi]]></content>
|
||||
</install>
|
||||
<file name="/etc/nginx/nginx.conf">
|
||||
<file name="/etc/nginx/nginx.conf" backup="true">
|
||||
<content><![CDATA[
|
||||
user www-data;
|
||||
worker_processes 4;
|
||||
@@ -262,7 +262,7 @@ http {
|
||||
]]>
|
||||
</content>
|
||||
</file>
|
||||
<file name="/etc/nginx/fastcgi_params">
|
||||
<file name="/etc/nginx/fastcgi_params" backup="true">
|
||||
<content><![CDATA[
|
||||
fastcgi_connect_timeout 65;
|
||||
fastcgi_send_timeout 180;
|
||||
@@ -308,7 +308,7 @@ location /.well-known/acme-challenge {
|
||||
]]>
|
||||
</content>
|
||||
</file>
|
||||
<file name="/etc/init.d/php-fcgi" chmod="u+x">
|
||||
<file name="/etc/init.d/php-fcgi" chmod="u+x" backup="true">
|
||||
<visibility mode="false">{{settings.phpfpm.enabled}}
|
||||
</visibility>
|
||||
<visibility mode="false">{{settings.system.mod_fcgid}}
|
||||
|
||||
Reference in New Issue
Block a user