Error reporting
This commit is contained in:
parent
9e845ae0ec
commit
a7f21c5e7c
|
@ -308,6 +308,10 @@ function install_radicale {
|
|||
nginx_disable_sniffing $DEFAULT_DOMAIN_NAME
|
||||
echo '' >> /etc/nginx/sites-available/radicale
|
||||
echo " server_name $DEFAULT_DOMAIN_NAME;" >> /etc/nginx/sites-available/radicale
|
||||
|
||||
echo '' >> /etc/nginx/sites-available/radicale
|
||||
echo ' access_log /dev/null;' >> /etc/nginx/sites-available/radicale
|
||||
echo ' error_log /var/log/radicale/radicale.log warn;' >> /etc/nginx/sites-available/radicale
|
||||
echo '' >> /etc/nginx/sites-available/radicale
|
||||
echo ' location / {' >> /etc/nginx/sites-available/radicale
|
||||
echo ' uwsgi_pass unix:/var/run/uwsgi/radicale.sock;' >> /etc/nginx/sites-available/radicale
|
||||
|
@ -323,6 +327,9 @@ function install_radicale {
|
|||
echo '' >> /etc/nginx/sites-available/radicale
|
||||
echo " server_name ${RADICALE_ONION_HOSTNAME};" >> /etc/nginx/sites-available/radicale
|
||||
echo '' >> /etc/nginx/sites-available/radicale
|
||||
echo ' access_log /dev/null;' >> /etc/nginx/sites-available/radicale
|
||||
echo ' error_log /var/log/radicale/radicale.log warn;' >> /etc/nginx/sites-available/radicale
|
||||
echo '' >> /etc/nginx/sites-available/radicale
|
||||
echo ' location / {' >> /etc/nginx/sites-available/radicale
|
||||
echo ' uwsgi_pass unix:/var/run/uwsgi/radicale.sock;' >> /etc/nginx/sites-available/radicale
|
||||
echo ' include uwsgi_params;' >> /etc/nginx/sites-available/radicale
|
||||
|
|
Loading…
Reference in New Issue