maximum size
This commit is contained in:
parent
9d21c88836
commit
6faeb0eb94
|
@ -10038,8 +10038,6 @@ function install_media_server {
|
||||||
nginx_disable_sniffing $MEDIA_SERVER_DOMAIN_NAME
|
nginx_disable_sniffing $MEDIA_SERVER_DOMAIN_NAME
|
||||||
nginx_limits $MEDIA_SERVER_DOMAIN_NAME '15m'
|
nginx_limits $MEDIA_SERVER_DOMAIN_NAME '15m'
|
||||||
echo '' >> /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
|
|
||||||
echo " root ${MEDIA_SERVER_WORKING_DIRECTORY}/public;" >> /etc/nginx/sites-available/$MEDIA_SERVER_DOMAIN_NAME
|
echo " root ${MEDIA_SERVER_WORKING_DIRECTORY}/public;" >> /etc/nginx/sites-available/$MEDIA_SERVER_DOMAIN_NAME
|
||||||
echo '' >> /etc/nginx/sites-available/$MEDIA_SERVER_DOMAIN_NAME
|
echo '' >> /etc/nginx/sites-available/$MEDIA_SERVER_DOMAIN_NAME
|
||||||
echo ' location ~* ^/(appearance)/ {' >> /etc/nginx/sites-available/$MEDIA_SERVER_DOMAIN_NAME
|
echo ' location ~* ^/(appearance)/ {' >> /etc/nginx/sites-available/$MEDIA_SERVER_DOMAIN_NAME
|
||||||
|
@ -10082,7 +10080,8 @@ function install_media_server {
|
||||||
echo " access_log /var/log/nginx/${MEDIA_SERVER_DOMAIN_NAME}.log;" >> /etc/nginx/sites-available/$MEDIA_SERVER_DOMAIN_NAME
|
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 " 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 '' >> /etc/nginx/sites-available/$MEDIA_SERVER_DOMAIN_NAME
|
||||||
echo ' client_max_body_size 1500M;' >> /etc/nginx/sites-available/$MEDIA_SERVER_DOMAIN_NAME
|
nginx_disable_sniffing $MEDIA_SERVER_DOMAIN_NAME
|
||||||
|
nginx_limits $MEDIA_SERVER_DOMAIN_NAME '15m'
|
||||||
echo '' >> /etc/nginx/sites-available/$MEDIA_SERVER_DOMAIN_NAME
|
echo '' >> /etc/nginx/sites-available/$MEDIA_SERVER_DOMAIN_NAME
|
||||||
echo " root ${MEDIA_SERVER_WORKING_DIRECTORY}/public;" >> /etc/nginx/sites-available/$MEDIA_SERVER_DOMAIN_NAME
|
echo " root ${MEDIA_SERVER_WORKING_DIRECTORY}/public;" >> /etc/nginx/sites-available/$MEDIA_SERVER_DOMAIN_NAME
|
||||||
echo '' >> /etc/nginx/sites-available/$MEDIA_SERVER_DOMAIN_NAME
|
echo '' >> /etc/nginx/sites-available/$MEDIA_SERVER_DOMAIN_NAME
|
||||||
|
|
Loading…
Reference in New Issue