diff --git a/src/freedombone b/src/freedombone index 69a4d53f..dda31025 100755 --- a/src/freedombone +++ b/src/freedombone @@ -10031,8 +10031,8 @@ function install_media_server { echo 'server {' >> /etc/nginx/sites-available/$MEDIA_SERVER_DOMAIN_NAME echo ' listen 443;' >> /etc/nginx/sites-available/$MEDIA_SERVER_DOMAIN_NAME echo " server_name $MEDIA_SERVER_DOMAIN_NAME;" >> /etc/nginx/sites-available/$MEDIA_SERVER_DOMAIN_NAME - echo ' access_log /var/log/nginx/${MEDIA_SERVER_DOMAIN_NAME}.log;' >> /etc/nginx/nginx.conf - echo ' error_log /var/log/nginx/${MEDIA_SERVER_DOMAIN_NAME}.log;' >> /etc/nginx/nginx.conf + echo ' access_log /var/log/nginx/${MEDIA_SERVER_DOMAIN_NAME}.log;' >> /etc/nginx/sites-available/$MEDIA_SERVER_DOMAIN_NAME + echo ' error_log /var/log/nginx/${MEDIA_SERVER_DOMAIN_NAME}.log;' >> /etc/nginx/sites-available/$MEDIA_SERVER_DOMAIN_NAME echo '' >> /etc/nginx/sites-available/$MEDIA_SERVER_DOMAIN_NAME nginx_ssl $MEDIA_SERVER_DOMAIN_NAME nginx_disable_sniffing $MEDIA_SERVER_DOMAIN_NAME @@ -10079,8 +10079,8 @@ function install_media_server { echo 'server {' >> /etc/nginx/sites-available/$MEDIA_SERVER_DOMAIN_NAME echo " listen 127.0.0.1:${MEDIA_SERVER_ONION_PORT} default_server;" >> /etc/nginx/sites-available/$MEDIA_SERVER_DOMAIN_NAME echo " server_name $MEDIA_SERVER_ONION_HOSTNAME;" >> /etc/nginx/sites-available/$MEDIA_SERVER_DOMAIN_NAME - echo ' access_log /var/log/nginx/${MEDIA_SERVER_DOMAIN_NAME}.log;' >> /etc/nginx/nginx.conf - echo ' error_log /var/log/nginx/${MEDIA_SERVER_DOMAIN_NAME}.log;' >> /etc/nginx/nginx.conf + echo ' access_log /var/log/nginx/${MEDIA_SERVER_DOMAIN_NAME}.log;' >> /etc/nginx/sites-available/$MEDIA_SERVER_DOMAIN_NAME + echo ' error_log /var/log/nginx/${MEDIA_SERVER_DOMAIN_NAME}.log;' >> /etc/nginx/sites-available/$MEDIA_SERVER_DOMAIN_NAME echo '' >> /etc/nginx/sites-available/$MEDIA_SERVER_DOMAIN_NAME echo ' client_max_body_size 1500M;' >> /etc/nginx/sites-available/$MEDIA_SERVER_DOMAIN_NAME echo '' >> /etc/nginx/sites-available/$MEDIA_SERVER_DOMAIN_NAME